Pārlūkot izejas kodu

html: copy passed tests from chromium

Updates golang/go#23071

Change-Id: I1fdf3fe8c94efdf3c4bf9c39900468381159a032
Reviewed-on: https://go-review.googlesource.com/131178
Run-TryBot: Kunpei Sakai <namusyaka@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Kunpei Sakai 7 gadi atpakaļ
vecāks
revīzija
4bcd98cce5
1 mainītis faili ar 55 papildinājumiem un 0 dzēšanām
  1. 55 0
      html/testdata/webkit/template.dat

+ 55 - 0
html/testdata/webkit/template.dat

@@ -1170,6 +1170,45 @@
 |               "var i"
 |   <body>
 
+#data
+<template><table></template><body><span>Foo
+#errors
+#document
+| <html>
+|   <head>
+|     <template>
+|       content
+|         <table>
+|   <body>
+|     <span>
+|       "Foo"
+
+#data
+<template><td></template><body><span>Foo
+#errors
+#document
+| <html>
+|   <head>
+|     <template>
+|       content
+|         <td>
+|   <body>
+|     <span>
+|       "Foo"
+
+#data
+<template><object></template><body><span>Foo
+#errors
+#document
+| <html>
+|   <head>
+|     <template>
+|       content
+|         <object>
+|   <body>
+|     <span>
+|       "Foo"
+
 #data
 <template><svg><template>
 #errors
@@ -1182,6 +1221,22 @@
 |           <svg template>
 |   <body>
 
+#data
+<template><svg><foo><template><foreignObject><div></template><div>
+#errors
+#document
+| <html>
+|   <head>
+|     <template>
+|       content
+|         <svg svg>
+|           <svg foo>
+|             <svg template>
+|               <svg foreignObject>
+|                 <div>
+|   <body>
+|     <div>
+
 #data
 <dummy><template><span></dummy>
 #errors