Changeset 232005 in webkit
- Timestamp:
- May 20, 2018 2:41:06 PM (6 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 64 added
- 1 deleted
- 5 edited
- 141 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r231993 r232005 1 2018-05-20 Emilio Cobos Álvarez <emilio@crisal.io> 2 3 Update CSSOM WPT tests. 4 https://bugs.webkit.org/show_bug.cgi?id=185805 5 6 Reviewed by Frédéric Wang. 7 8 Update CSSOM WPT tests. 9 10 * TestExpectations: 11 1 12 2018-05-18 Commit Queue <commit-queue@webkit.org> 2 13 -
trunk/LayoutTests/TestExpectations
r231977 r232005 308 308 imported/w3c/web-platform-tests/IndexedDB/nested-cloning-large.html [ Skip ] 309 309 imported/w3c/web-platform-tests/IndexedDB/nested-cloning-small.html [ Skip ] 310 imported/w3c/web-platform-tests/css om/interfaces.html [ Pass Timeout ]310 imported/w3c/web-platform-tests/css/cssom/interfaces.html [ Pass Timeout ] 311 311 imported/w3c/web-platform-tests/cssom-view/interfaces.html [ Pass Timeout ] 312 312 webkit.org/b/182292 imported/w3c/web-platform-tests/cssom-view/scrollingElement-quirks-dynamic-001.html [ ImageOnlyFailure ] -
trunk/LayoutTests/imported/w3c/ChangeLog
r231995 r232005 1 2018-05-20 Emilio Cobos Álvarez <emilio@crisal.io> 2 3 Update CSSOM WPT tests. 4 https://bugs.webkit.org/show_bug.cgi?id=185805 5 6 They've been moved under the css/ directory. 7 8 This has been done with: 9 10 ./Tools/Scripts/import-w3c-tests web-platform-tests/css/cssom 11 rm -rf LayoutTests/imported/w3c/web-platform-tests/cssom 12 ./Tools/Scripts/run-webkit-tests -t Debug LayoutTests/imported/w3c/web-platform-tests/css/cssom/ --reset-results 13 14 And ensuring that the same run without --reset-results also succeeded. 15 16 I manually removed entries in import-expectations.json which no longer 17 correspond to an upstream directory. 18 19 Reviewed by Frédéric Wang. 20 21 * resources/import-expectations.json: 22 * resources/resource-files.json: 23 * web-platform-tests/css/cssom/CSS-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/CSS-expected.txt. 24 * web-platform-tests/css/cssom/CSS.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/CSS.html. 25 * web-platform-tests/css/cssom/CSSKeyframeRule-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/CSSKeyframeRule-expected.txt. 26 * web-platform-tests/css/cssom/CSSKeyframeRule.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/CSSKeyframeRule.html. 27 * web-platform-tests/css/cssom/CSSKeyframesRule-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/CSSKeyframesRule-expected.txt. 28 * web-platform-tests/css/cssom/CSSKeyframesRule.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/CSSKeyframesRule.html. 29 * web-platform-tests/css/cssom/CSSNamespaceRule-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/CSSNamespaceRule-expected.txt. 30 * web-platform-tests/css/cssom/CSSNamespaceRule.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/CSSNamespaceRule.html. 31 * web-platform-tests/css/cssom/CSSRuleList-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/CSSRuleList-expected.txt. 32 * web-platform-tests/css/cssom/CSSRuleList.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/CSSRuleList.html. 33 * web-platform-tests/css/cssom/CSSStyleRule-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/CSSStyleRule-expected.txt. 34 * web-platform-tests/css/cssom/CSSStyleRule-set-selectorText-expected.txt: Added. 35 * web-platform-tests/css/cssom/CSSStyleRule-set-selectorText-namespace-expected.txt: Added. 36 * web-platform-tests/css/cssom/CSSStyleRule-set-selectorText-namespace.html: Added. 37 * web-platform-tests/css/cssom/CSSStyleRule-set-selectorText.html: Added. 38 * web-platform-tests/css/cssom/CSSStyleRule.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/CSSStyleRule.html. 39 * web-platform-tests/css/cssom/CSSStyleSheet-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/CSSStyleSheet-expected.txt. 40 * web-platform-tests/css/cssom/CSSStyleSheet.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/CSSStyleSheet.html. 41 * web-platform-tests/css/cssom/MediaList-expected.txt: Added. 42 * web-platform-tests/css/cssom/MediaList.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/MediaList.html. 43 * web-platform-tests/css/cssom/MediaList2-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/MediaList2-expected.txt. 44 * web-platform-tests/css/cssom/MediaList2.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/MediaList2.xhtml. 45 * web-platform-tests/css/cssom/OWNERS: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/OWNERS. 46 * web-platform-tests/css/cssom/StyleSheetList-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/StyleSheetList-expected.txt. 47 * web-platform-tests/css/cssom/StyleSheetList.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/StyleSheetList.html. 48 * web-platform-tests/css/cssom/computed-style-001-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/computed-style-001-expected.txt. 49 * web-platform-tests/css/cssom/computed-style-001.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/computed-style-001.html. 50 * web-platform-tests/css/cssom/computed-style-002-expected.txt: Added. 51 * web-platform-tests/css/cssom/computed-style-002.html: Added. 52 * web-platform-tests/css/cssom/computed-style-003-expected.txt: Added. 53 * web-platform-tests/css/cssom/computed-style-003.html: Added. 54 * web-platform-tests/css/cssom/computed-style-004-expected.txt: Added. 55 * web-platform-tests/css/cssom/computed-style-004.html: Added. 56 * web-platform-tests/css/cssom/css-style-attr-decl-block-expected.txt: Added. 57 * web-platform-tests/css/cssom/css-style-attr-decl-block.html: Added. 58 * web-platform-tests/css/cssom/css-style-attribute-modifications-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/css-style-attribute-modifications-expected.txt. 59 * web-platform-tests/css/cssom/css-style-attribute-modifications.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/css-style-attribute-modifications.html. 60 * web-platform-tests/css/cssom/css-style-declaration-modifications-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/css-style-declaration-modifications-expected.txt. 61 * web-platform-tests/css/cssom/css-style-declaration-modifications.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/css-style-declaration-modifications.html. 62 * web-platform-tests/css/cssom/css-style-reparse-expected.txt: Added. 63 * web-platform-tests/css/cssom/css-style-reparse.html: Added. 64 * web-platform-tests/css/cssom/cssimportrule-expected.txt: Added. 65 * web-platform-tests/css/cssom/cssimportrule.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssimportrule.html. 66 * web-platform-tests/css/cssom/cssom-cssText-serialize-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssom-cssText-serialize-expected.txt. 67 * web-platform-tests/css/cssom/cssom-cssText-serialize.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssom-cssText-serialize.html. 68 * web-platform-tests/css/cssom/cssom-cssstyledeclaration-set-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssom-cssstyledeclaration-set-expected.txt. 69 * web-platform-tests/css/cssom/cssom-cssstyledeclaration-set.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssom-cssstyledeclaration-set.html. 70 * web-platform-tests/css/cssom/cssom-fontfacerule-constructors-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssom-fontfacerule-constructors-expected.txt. 71 * web-platform-tests/css/cssom/cssom-fontfacerule-constructors.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssom-fontfacerule-constructors.html. 72 * web-platform-tests/css/cssom/cssom-fontfacerule-expected.txt: Added. 73 * web-platform-tests/css/cssom/cssom-fontfacerule.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssom-fontfacerule.html. 74 * web-platform-tests/css/cssom/cssom-ruleTypeAndOrder-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssom-ruleTypeAndOrder-expected.txt. 75 * web-platform-tests/css/cssom/cssom-ruleTypeAndOrder.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssom-ruleTypeAndOrder.html. 76 * web-platform-tests/css/cssom/cssom-setProperty-shorthand-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssom-setProperty-shorthand-expected.txt. 77 * web-platform-tests/css/cssom/cssom-setProperty-shorthand.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssom-setProperty-shorthand.html. 78 * web-platform-tests/css/cssom/cssstyledeclaration-csstext-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssstyledeclaration-csstext-expected.txt. 79 * web-platform-tests/css/cssom/cssstyledeclaration-csstext-final-delimiter-expected.txt: Added. 80 * web-platform-tests/css/cssom/cssstyledeclaration-csstext-final-delimiter.html: Added. 81 * web-platform-tests/css/cssom/cssstyledeclaration-csstext-important-expected.txt: Added. 82 * web-platform-tests/css/cssom/cssstyledeclaration-csstext-important.html: Added. 83 * web-platform-tests/css/cssom/cssstyledeclaration-csstext.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssstyledeclaration-csstext.html. 84 * web-platform-tests/css/cssom/cssstyledeclaration-mutability-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssstyledeclaration-mutability-expected.txt. 85 * web-platform-tests/css/cssom/cssstyledeclaration-mutability.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/cssstyledeclaration-mutability.html. 86 * web-platform-tests/css/cssom/cssstyledeclaration-mutationrecord-001-expected.txt: Added. 87 * web-platform-tests/css/cssom/cssstyledeclaration-mutationrecord-001.html: Added. 88 * web-platform-tests/css/cssom/cssstyledeclaration-mutationrecord-002-expected.txt: Added. 89 * web-platform-tests/css/cssom/cssstyledeclaration-mutationrecord-002.html: Added. 90 * web-platform-tests/css/cssom/cssstyledeclaration-mutationrecord-003-expected.txt: Added. 91 * web-platform-tests/css/cssom/cssstyledeclaration-mutationrecord-003.html: Added. 92 * web-platform-tests/css/cssom/cssstyledeclaration-mutationrecord-004-expected.txt: Added. 93 * web-platform-tests/css/cssom/cssstyledeclaration-mutationrecord-004.html: Added. 94 * web-platform-tests/css/cssom/cssstyledeclaration-setter-order-expected.txt: Added. 95 * web-platform-tests/css/cssom/cssstyledeclaration-setter-order.html: Added. 96 * web-platform-tests/css/cssom/escape-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/escape-expected.txt. 97 * web-platform-tests/css/cssom/escape.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/escape.html. 98 * web-platform-tests/css/cssom/font-shorthand-serialization-expected.txt: Added. 99 * web-platform-tests/css/cssom/font-shorthand-serialization.html: Added. 100 * web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt: Added. 101 * web-platform-tests/css/cssom/getComputedStyle-detached-subtree.html: Added. 102 * web-platform-tests/css/cssom/getComputedStyle-dynamic-subdoc-expected.txt: Added. 103 * web-platform-tests/css/cssom/getComputedStyle-dynamic-subdoc.html: Added. 104 * web-platform-tests/css/cssom/getComputedStyle-pseudo-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/getComputedStyle-pseudo-expected.txt. 105 * web-platform-tests/css/cssom/getComputedStyle-pseudo.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/getComputedStyle-pseudo.html. 106 * web-platform-tests/css/cssom/historical-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/historical-expected.txt. 107 * web-platform-tests/css/cssom/historical.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/historical.html. 108 * web-platform-tests/css/cssom/inline-style-001-expected.txt: Added. 109 * web-platform-tests/css/cssom/inline-style-001.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/inline-style-001.html. 110 * web-platform-tests/css/cssom/insertRule-charset-no-index-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/insertRule-charset-no-index-expected.txt. 111 * web-platform-tests/css/cssom/insertRule-charset-no-index.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/insertRule-charset-no-index.html. 112 * web-platform-tests/css/cssom/insertRule-import-no-index-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/insertRule-import-no-index-expected.txt. 113 * web-platform-tests/css/cssom/insertRule-import-no-index.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/insertRule-import-no-index.html. 114 * web-platform-tests/css/cssom/insertRule-namespace-no-index-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/insertRule-namespace-no-index-expected.txt. 115 * web-platform-tests/css/cssom/insertRule-namespace-no-index.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/insertRule-namespace-no-index.html. 116 * web-platform-tests/css/cssom/insertRule-no-index-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/insertRule-no-index-expected.txt. 117 * web-platform-tests/css/cssom/insertRule-no-index.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/insertRule-no-index.html. 118 * web-platform-tests/css/cssom/insertRule-syntax-error-01-expected.txt: Added. 119 * web-platform-tests/css/cssom/insertRule-syntax-error-01.html: Added. 120 * web-platform-tests/css/cssom/interfaces-expected.txt: Added. 121 * web-platform-tests/css/cssom/interfaces.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/interfaces.html. 122 * web-platform-tests/css/cssom/medialist-dynamic-001-expected.html: Added. 123 * web-platform-tests/css/cssom/medialist-dynamic-001.html: Added. 124 * web-platform-tests/css/cssom/medialist-interfaces-001-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/medialist-interfaces-001-expected.txt. 125 * web-platform-tests/css/cssom/medialist-interfaces-001.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/medialist-interfaces-001.html. 126 * web-platform-tests/css/cssom/medialist-interfaces-002-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/medialist-interfaces-002-expected.txt. 127 * web-platform-tests/css/cssom/medialist-interfaces-002.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/medialist-interfaces-002.html. 128 * web-platform-tests/css/cssom/medialist-interfaces-003-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/medialist-interfaces-003-expected.txt. 129 * web-platform-tests/css/cssom/medialist-interfaces-003.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/medialist-interfaces-003.html. 130 * web-platform-tests/css/cssom/medialist-interfaces-004-expected.txt: Added. 131 * web-platform-tests/css/cssom/medialist-interfaces-004.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/medialist-interfaces-004.html. 132 * web-platform-tests/css/cssom/overflow-serialization-expected.txt: Added. 133 * web-platform-tests/css/cssom/overflow-serialization.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/overflow-serialization.html. 134 * web-platform-tests/css/cssom/preferred-stylesheet-order-expected.txt: Added. 135 * web-platform-tests/css/cssom/preferred-stylesheet-order.html: Added. 136 * web-platform-tests/css/cssom/preferred-stylesheet-reversed-order-expected.txt: Added. 137 * web-platform-tests/css/cssom/preferred-stylesheet-reversed-order.html: Added. 138 * web-platform-tests/css/cssom/selectorSerialize-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/selectorSerialize-expected.txt. 139 * web-platform-tests/css/cssom/selectorSerialize.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/selectorSerialize.html. 140 * web-platform-tests/css/cssom/selectorText-modification-restyle-001-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/selectorText-modification-restyle-001-expected.html. 141 * web-platform-tests/css/cssom/selectorText-modification-restyle-001.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/selectorText-modification-restyle-001.html. 142 * web-platform-tests/css/cssom/selectorText-modification-restyle-002-expected.txt: Added. 143 * web-platform-tests/css/cssom/selectorText-modification-restyle-002.html: Added. 144 * web-platform-tests/css/cssom/serialization-CSSDeclaration-with-important-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/serialization-CSSDeclaration-with-important-expected.txt. 145 * web-platform-tests/css/cssom/serialization-CSSDeclaration-with-important.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/serialization-CSSDeclaration-with-important.html. 146 * web-platform-tests/css/cssom/serialize-namespaced-type-selectors-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/serialize-namespaced-type-selectors-expected.txt. 147 * web-platform-tests/css/cssom/serialize-namespaced-type-selectors.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/serialize-namespaced-type-selectors.html. 148 * web-platform-tests/css/cssom/serialize-values-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/serialize-values-expected.txt. 149 * web-platform-tests/css/cssom/serialize-values.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/serialize-values.html. 150 * web-platform-tests/css/cssom/serialize-variable-reference-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/serialize-variable-reference-expected.txt. 151 * web-platform-tests/css/cssom/serialize-variable-reference.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/serialize-variable-reference.html. 152 * web-platform-tests/css/cssom/setproperty-null-undefined-expected.txt: Added. 153 * web-platform-tests/css/cssom/setproperty-null-undefined.html: Added. 154 * web-platform-tests/css/cssom/shorthand-serialization-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/shorthand-serialization-expected.txt. 155 * web-platform-tests/css/cssom/shorthand-serialization.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/shorthand-serialization.html. 156 * web-platform-tests/css/cssom/shorthand-values-expected.txt: Added. 157 * web-platform-tests/css/cssom/shorthand-values.html: Added. 158 * web-platform-tests/css/cssom/style-sheet-interfaces-001-expected.txt: Added. 159 * web-platform-tests/css/cssom/style-sheet-interfaces-001.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/style-sheet-interfaces-001.html. 160 * web-platform-tests/css/cssom/style-sheet-interfaces-002-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/style-sheet-interfaces-002-expected.txt. 161 * web-platform-tests/css/cssom/style-sheet-interfaces-002.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/style-sheet-interfaces-002.html. 162 * web-platform-tests/css/cssom/stylesheet-replacedata-dynamic-expected.html: Added. 163 * web-platform-tests/css/cssom/stylesheet-replacedata-dynamic.html: Added. 164 * web-platform-tests/css/cssom/stylesheet-same-origin.css: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/stylesheet-same-origin.css. 165 * web-platform-tests/css/cssom/stylesheet-same-origin.sub-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/stylesheet-same-origin.sub-expected.txt. 166 * web-platform-tests/css/cssom/stylesheet-same-origin.sub.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/stylesheet-same-origin.sub.html. 167 * web-platform-tests/css/cssom/stylesheet-title-expected.txt: Added. 168 * web-platform-tests/css/cssom/stylesheet-title.html: Added. 169 * web-platform-tests/css/cssom/support/1x1-green.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/1x1-green.png. 170 * web-platform-tests/css/cssom/support/1x1-lime.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/1x1-lime.png. 171 * web-platform-tests/css/cssom/support/1x1-maroon.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/1x1-maroon.png. 172 * web-platform-tests/css/cssom/support/1x1-navy.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/1x1-navy.png. 173 * web-platform-tests/css/cssom/support/1x1-red.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/1x1-red.png. 174 * web-platform-tests/css/cssom/support/1x1-white.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/1x1-white.png. 175 * web-platform-tests/css/cssom/support/60x60-gg-rr.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/60x60-gg-rr.png. 176 * web-platform-tests/css/cssom/support/60x60-green.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/60x60-green.png. 177 * web-platform-tests/css/cssom/support/60x60-red.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/60x60-red.png. 178 * web-platform-tests/css/cssom/support/README: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/README. 179 * web-platform-tests/css/cssom/support/a-green.css: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/a-green.css. 180 * web-platform-tests/css/cssom/support/b-green.css: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/b-green.css. 181 * web-platform-tests/css/cssom/support/c-red.css: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/c-red.css. 182 * web-platform-tests/css/cssom/support/cat.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/cat.png. 183 * web-platform-tests/css/cssom/support/import-charset.css: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/import-charset.css. 184 * web-platform-tests/css/cssom/support/import-green.css: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/import-green.css. 185 * web-platform-tests/css/cssom/support/import-red.css: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/import-red.css. 186 * web-platform-tests/css/cssom/support/pattern-grg-rgr-grg.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/pattern-grg-rgr-grg.png. 187 * web-platform-tests/css/cssom/support/pattern-grg-rrg-rgg.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/pattern-grg-rrg-rgg.png. 188 * web-platform-tests/css/cssom/support/pattern-rgr-grg-rgr.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/pattern-rgr-grg-rgr.png. 189 * web-platform-tests/css/cssom/support/pattern-tr.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/pattern-tr.png. 190 * web-platform-tests/css/cssom/support/ruler-h-50%.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/ruler-h-50%.png. 191 * web-platform-tests/css/cssom/support/ruler-h-50px.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/ruler-h-50px.png. 192 * web-platform-tests/css/cssom/support/ruler-v-100px.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/ruler-v-100px.png. 193 * web-platform-tests/css/cssom/support/ruler-v-50px.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/ruler-v-50px.png. 194 * web-platform-tests/css/cssom/support/square-purple.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/square-purple.png. 195 * web-platform-tests/css/cssom/support/square-teal.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/square-teal.png. 196 * web-platform-tests/css/cssom/support/square-white.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/square-white.png. 197 * web-platform-tests/css/cssom/support/support/README: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/support/README. 198 * web-platform-tests/css/cssom/support/support/swatch-green.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/support/swatch-green.png. 199 * web-platform-tests/css/cssom/support/support/swatch-red.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/support/swatch-red.png. 200 * web-platform-tests/css/cssom/support/support/w3c-import.log: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/support/w3c-import.log. 201 * web-platform-tests/css/cssom/support/swatch-blue.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/swatch-blue.png. 202 * web-platform-tests/css/cssom/support/swatch-green.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/swatch-green.png. 203 * web-platform-tests/css/cssom/support/swatch-lime.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/swatch-lime.png. 204 * web-platform-tests/css/cssom/support/swatch-orange.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/swatch-orange.png. 205 * web-platform-tests/css/cssom/support/swatch-red.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/swatch-red.png. 206 * web-platform-tests/css/cssom/support/swatch-teal.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/swatch-teal.png. 207 * web-platform-tests/css/cssom/support/swatch-white.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/swatch-white.png. 208 * web-platform-tests/css/cssom/support/swatch-yellow.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/swatch-yellow.png. 209 * web-platform-tests/css/cssom/support/test-bl.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/test-bl.png. 210 * web-platform-tests/css/cssom/support/test-br.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/test-br.png. 211 * web-platform-tests/css/cssom/support/test-inner-half-size.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/test-inner-half-size.png. 212 * web-platform-tests/css/cssom/support/test-outer.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/test-outer.png. 213 * web-platform-tests/css/cssom/support/test-tl.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/test-tl.png. 214 * web-platform-tests/css/cssom/support/test-tr.png: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/test-tr.png. 215 * web-platform-tests/css/cssom/support/w3c-import.log: Added. 216 * web-platform-tests/css/cssom/support/xmlss-pi.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/support/xmlss-pi.xhtml. 217 * web-platform-tests/css/cssom/ttwf-cssom-doc-ext-load-count-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/ttwf-cssom-doc-ext-load-count-expected.txt. 218 * web-platform-tests/css/cssom/ttwf-cssom-doc-ext-load-count.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/ttwf-cssom-doc-ext-load-count.html. 219 * web-platform-tests/css/cssom/ttwf-cssom-doc-ext-load-tree-order-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/ttwf-cssom-doc-ext-load-tree-order-expected.txt. 220 * web-platform-tests/css/cssom/ttwf-cssom-doc-ext-load-tree-order.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/ttwf-cssom-doc-ext-load-tree-order.html. 221 * web-platform-tests/css/cssom/ttwf-cssom-document-extension-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/ttwf-cssom-document-extension-expected.txt. 222 * web-platform-tests/css/cssom/ttwf-cssom-document-extension.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/ttwf-cssom-document-extension.html. 223 * web-platform-tests/css/cssom/variable-names-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/variable-names-expected.txt. 224 * web-platform-tests/css/cssom/variable-names.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/cssom/variable-names.html. 225 * web-platform-tests/css/cssom/w3c-import.log: Added. 226 * web-platform-tests/cssom/GetBoundingRect-expected.txt: Removed. 227 * web-platform-tests/cssom/GetBoundingRect.html: Removed. 228 * web-platform-tests/cssom/MediaList-expected.txt: Removed. 229 * web-platform-tests/cssom/cssimportrule-expected.txt: Removed. 230 * web-platform-tests/cssom/cssom-fontfacerule-expected.txt: Removed. 231 * web-platform-tests/cssom/index-001-expected.txt: Removed. 232 * web-platform-tests/cssom/index-001.html: Removed. 233 * web-platform-tests/cssom/index-002-expected.txt: Removed. 234 * web-platform-tests/cssom/index-002.html: Removed. 235 * web-platform-tests/cssom/inline-style-001-expected.txt: Removed. 236 * web-platform-tests/cssom/interfaces-expected.txt: Removed. 237 * web-platform-tests/cssom/medialist-interfaces-004-expected.txt: Removed. 238 * web-platform-tests/cssom/overflow-serialization-expected.txt: Removed. 239 * web-platform-tests/cssom/style-sheet-interfaces-001-expected.txt: Removed. 240 * web-platform-tests/cssom/support/w3c-import.log: Removed. 241 * web-platform-tests/cssom/w3c-import.log: Removed. 242 1 243 2018-05-18 Rob Buis <rbuis@igalia.com> 2 244 -
trunk/LayoutTests/imported/w3c/resources/import-expectations.json
r231709 r232005 71 71 "web-platform-tests/css/css-shapes/test-plan/index.html": "skip", 72 72 "web-platform-tests/css/css-ui": "import", 73 "web-platform-tests/css/cssom": "import", 73 74 "web-platform-tests/css/geometry/": "import", 74 75 "web-platform-tests/css/mediaqueries": "import", … … 77 78 "web-platform-tests/css/selectors": "import", 78 79 "web-platform-tests/css/support": "import", 79 "web-platform-tests/cssom": "import",80 80 "web-platform-tests/cssom-view": "import", 81 "web-platform-tests/cssom/MediaList.xhtml": "skip",82 81 "web-platform-tests/custom-elements": "import", 83 82 "web-platform-tests/custom-elements/v0": "skip", -
trunk/LayoutTests/imported/w3c/resources/resource-files.json
r230445 r232005 279 279 "web-platform-tests/css/css-ui/text-overflow-018.html", 280 280 "web-platform-tests/css/css-ui/text-overflow-019.html", 281 "web-platform-tests/css/cssom/support/xmlss-pi.xhtml", 281 282 "web-platform-tests/css/mediaqueries/support/media_queries_iframe.html", 282 283 "web-platform-tests/css/mediaqueries/support/min-width-tables-001-iframe.html", -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/CSS.html
r232004 r232005 2 2 <meta charset="utf-8"> 3 3 <title>CSSOM - CSS interface</title> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 4 <link rel="help" href="https://drafts.csswg.org/cssom/#the-css.escape()-method"> 5 <script src="../../../../../resources/testharness.js"></script> 6 <script src="../../../../../resources/testharnessreport.js"></script> 6 7 <script> 7 8 test(function () { -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/CSSKeyframeRule.html
r232004 r232005 2 2 <meta charset="utf-8"> 3 3 <title></title> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 4 <link rel="help" href="https://drafts.csswg.org/css-animations/#interface-csskeyframerule"> 5 <script src="../../../../../resources/testharness.js"></script> 6 <script src="../../../../../resources/testharnessreport.js"></script> 6 7 <style type="text/css" id="styleElement"> 7 8 div { animation: 3s slidein; } -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/CSSKeyframesRule.html
r232004 r232005 4 4 <meta charset="utf-8"> 5 5 <title>CSSOM - CSSKeyframesRule interface</title> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 6 <link rel="help" href="https://drafts.csswg.org/css-animations/#interface-csskeyframesrule"> 7 <script src="../../../../../resources/testharness.js"></script> 8 <script src="../../../../../resources/testharnessreport.js"></script> 8 9 <style> 9 10 @keyframes foo { -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/CSSNamespaceRule.html
r232004 r232005 4 4 <meta charset="utf-8"> 5 5 <title>CSSOM - CSSNamespaceRule interface</title> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 6 <link rel="help" href="https://drafts.csswg.org/cssom/#the-cssnamespacerule-interface"> 7 <script src="../../../../../resources/testharness.js"></script> 8 <script src="../../../../../resources/testharnessreport.js"></script> 8 9 <style> 9 10 @namespace svg url(http://servo); -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/CSSRuleList.html
r232004 r232005 4 4 <meta charset="utf-8"> 5 5 <title>CSSOM - CSSRuleList interface</title> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 6 <link rel="help" href="https://drafts.csswg.org/cssom/#the-cssrulelist-interface"> 7 <script src="../../../../../resources/testharness.js"></script> 8 <script src="../../../../../resources/testharnessreport.js"></script> 8 9 <style> 9 10 body { width: 50%; } -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/CSSStyleRule.html
r232004 r232005 9 9 <meta name="flags" content="dom"> 10 10 <meta name="assert" content="All properties for this CSSStyleRule instance of CSSRule are initialized correctly"> 11 <script src=" /resources/testharness.js"></script>12 <script src=" /resources/testharnessreport.js"></script>11 <script src="../../../../../resources/testharness.js"></script> 12 <script src="../../../../../resources/testharnessreport.js"></script> 13 13 14 14 <style id="styleElement" type="text/css"> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/CSSStyleSheet.html
r232004 r232005 4 4 <meta charset="utf-8"> 5 5 <title>CSSOM - CSSStyleSheet interface</title> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 6 <link rel="help" href="https://drafts.csswg.org/cssom/#the-cssstylesheet-interface"> 7 <script src="../../../../../resources/testharness.js"></script> 8 <script src="../../../../../resources/testharnessreport.js"></script> 8 9 <style id="my-stylesheet"> 9 10 body { width: 50%; } -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/MediaList.html
r232004 r232005 4 4 <meta charset="utf-8"> 5 5 <title>CSSOM - MediaList interface</title> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 6 <link rel="help" href="https://drafts.csswg.org/cssom/#the-medialist-interface"> 7 <script src="../../../../../resources/testharness.js"></script> 8 <script src="../../../../../resources/testharnessreport.js"></script> 8 9 <style> 9 10 @media screen and (min-width: 480px), print, projection {} … … 15 16 assert_equals(media.length, 3, "MediaList length attribute"); 16 17 assert_equals(media.mediaText, "screen and (min-width: 480px), print, projection", "MediaList mediaText attribute"); 18 assert_equals(media.toString(), "screen and (min-width: 480px), print, projection", "MediaList toString method"); 17 19 assert_equals(media[0], "screen and (min-width: 480px)", "MediaList indexed getter"); 18 20 assert_equals(media[1], "print", "MediaList indexed getter"); … … 25 27 assert_equals(media.length, 2, "MediaList length attribute after delete method"); 26 28 assert_equals(media.mediaText, "screen and (min-width: 480px), projection", "MediaList mediaText attribute after delete method"); 29 assert_equals(media.toString(), "screen and (min-width: 480px), projection", "MediaList toString method after delete method"); 27 30 assert_equals(media[1], "projection", "MediaList indexed getter after delete method"); 28 31 assert_equals(media[2], undefined, "MediaList indexed getter with out of range after delete method"); … … 33 36 assert_equals(media.length, 3, "MediaList length attribute after append method"); 34 37 assert_equals(media.mediaText, "screen and (min-width: 480px), projection, speech", "MediaList mediaText attribute after append method"); 38 assert_equals(media.toString(), "screen and (min-width: 480px), projection, speech", "MediaList toString method after append method"); 35 39 assert_equals(media[1], "projection", "MediaList indexed getter after append method"); 36 40 assert_equals(media[2], "speech", "MediaList indexed getter after append method"); … … 38 42 assert_equals(media.item(2), "speech", "MediaList item method after append method"); 39 43 assert_equals(media.item(3), null, "MediaList item method after append method"); 44 45 media.mediaText = null; 46 assert_equals(media.mediaText, "", "MediaList mediaText attribute should be empty string in case of null"); 47 assert_equals(media.toString(), "", "MediaList toString method should be empty string in case of null"); 48 49 var rule = document.styleSheets[0].cssRules[0]; 50 rule.media = "speech"; 51 assert_equals(rule.media.mediaText, "speech", "MediaList mediaText attribute should be updated"); 40 52 }); 41 53 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/MediaList2.xhtml
r232004 r232005 7 7 <link rel="help" href="http://dev.w3.org/2006/webapi/WebIDL/#getownproperty"/> 8 8 <style media="screen, print" id="test-style"></style> 9 <script src="/resources/testharness.js"/> 10 <script src="/resources/testharnessreport.js"/> 11 <script id="metadata_cache">/* 12 { 13 "MediaList": {}, 14 "MediaList.mediaText": {}, 15 "MediaList.length": {}, 16 "MediaList getter": {}, 17 "MediaList.item": {} 18 } 19 */</script> 9 <script src="../../../../../resources/testharness.js"/> 10 <script src="../../../../../resources/testharnessreport.js"/> 20 11 </head> 21 12 <body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/StyleSheetList.html
r232004 r232005 4 4 <meta charset="utf-8"> 5 5 <title>CSSOM - StyleSheetList interface</title> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 6 <link rel="help" href="https://drafts.csswg.org/cssom/#the-stylesheetlist-interface"> 7 <script src="../../../../../resources/testharness.js"></script> 8 <script src="../../../../../resources/testharnessreport.js"></script> 8 9 <style> 9 10 body { width: 50%; } -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/computed-style-001.html
r232004 r232005 9 9 <meta name="flags" content="dom"> 10 10 <meta name="assert" content="getComputedStyle returns a readonly CSSStyleDeclaration with resolved values"> 11 <script src=" /resources/testharness.js" type="text/javascript"></script>12 <script src=" /resources/testharnessreport.js" type="text/javascript"></script>11 <script src="../../../../../resources/testharness.js" type="text/javascript"></script> 12 <script src="../../../../../resources/testharnessreport.js" type="text/javascript"></script> 13 13 <style> 14 14 #outside { … … 24 24 } 25 25 </style> 26 <script id="metadata_cache">/*27 {28 "read_only": { "assert": "do not allow modifications to a computed CSSStyleDeclaration" },29 "property_values": { "assert": "Directly set properties are resolved" },30 "inherited_property_values": { "assert": "Inherited properties are resolved" },31 "relative_property_values": { "assert": "Relative properties are resolved" }32 }33 */</script>34 26 </head> 35 27 <body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/css-style-attribute-modifications.html
r232004 r232005 2 2 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:ecobos@igalia.com"> 3 3 <link rel="help" href="https://drafts.csswg.org/cssom/#the-elementcssinlinestyle-interface"> 4 <script src=" /resources/testharness.js"></script>5 <script src=" /resources/testharnessreport.js"></script>4 <script src="../../../../../resources/testharness.js"></script> 5 <script src="../../../../../resources/testharnessreport.js"></script> 6 6 <div id="test" style="color: red"></div> 7 7 <script> … … 10 10 el.style.color = ""; 11 11 assert_true(el.hasAttribute("style")); 12 13 el.removeAttribute("style"); 14 assert_false(el.hasAttribute("style")); 12 15 }, "Mutating the style declaration doesn't remove the style attribute"); 13 16 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/css-style-declaration-modifications.html
r232004 r232005 7 7 <meta name="flags" content="dom"> 8 8 <meta name="assert" content="CSSStyleDeclaration is properly initialized and can be modified through its interface"> 9 <script src=" /resources/testharness.js" type="text/javascript"></script>10 <script src=" /resources/testharnessreport.js" type="text/javascript"></script>9 <script src="../../../../../resources/testharness.js" type="text/javascript"></script> 10 <script src="../../../../../resources/testharnessreport.js" type="text/javascript"></script> 11 11 <style id="styleElement"> 12 12 #test { color: green; } -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/cssimportrule.html
r232004 r232005 9 9 <meta name="flags" content="dom"> 10 10 <meta name="assert" content="All properties for this CSSImportRule instance of CSSRule are initialized correctly"> 11 <script src=" /resources/testharness.js"></script>12 <script src=" /resources/testharnessreport.js"></script>11 <script src="../../../../../resources/testharness.js"></script> 12 <script src="../../../../../resources/testharnessreport.js"></script> 13 13 14 14 <style id="styleElement" type="text/css"> 15 15 @import url("support/a-green.css"); 16 16 @import url("support/a-green.css") screen; 17 @import url("support/a-green.css") all; 18 @page { background-color: red; } 17 19 </style> 18 20 </head> … … 21 23 22 24 <script type="text/javascript"> 23 var rule, ruleWithMedia;25 var styleSheet, ruleList, rule, ruleWithMedia, ruleWithMediaAll; 24 26 setup(function() { 25 varstyleSheet = document.getElementById("styleElement").sheet;26 varruleList = styleSheet.cssRules;27 styleSheet = document.getElementById("styleElement").sheet; 28 ruleList = styleSheet.cssRules; 27 29 rule = ruleList[0]; 28 30 ruleWithMedia = ruleList[1]; 31 ruleWithMediaAll = ruleList[2]; 29 32 }); 30 33 … … 63 66 assert_equals(rule.cssText, '@import url("support/a-green.css");'); 64 67 assert_equals(ruleWithMedia.cssText, '@import url("support/a-green.css") screen;'); 68 assert_equals(ruleWithMediaAll.cssText, '@import url("support/a-green.css") all;'); 65 69 assert_equals(rule.parentRule, null); 66 70 assert_true(rule.parentStyleSheet instanceof CSSStyleSheet); … … 84 88 assert_equals(ruleWithMedia.media.mediaText, "screen"); 85 89 }, "Values of CSSImportRule attributes"); 90 91 test(function() { 92 ruleWithMedia.media = "print"; 93 assert_equals(ruleWithMedia.media.mediaText, "print"); 94 }, "CSSImportRule : MediaList mediaText attribute should be updated due to [PutForwards]"); 95 96 test(function() { 97 var ruleWithPage = ruleList[3]; 98 ruleWithPage.style = "background-color: green;" 99 assert_equals(ruleWithPage.style.cssText, "background-color: green;"); 100 }, "CSSStyleDeclaration cssText attribute should be updated due to [PutForwards]"); 101 102 test(function() { 103 styleSheet.media = "screen"; 104 assert_equals(styleSheet.media.mediaText, "screen"); 105 }, "StyleSheet : MediaList mediaText attribute should be updated due to [PutForwards]"); 86 106 </script> 87 107 </body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/cssom-cssText-serialize.html
r232004 r232005 9 9 <meta name="flags" content="dom"> 10 10 11 <script src=" /resources/testharness.js"></script>12 <script src=" /resources/testharnessreport.js"></script>11 <script src="../../../../../resources/testharness.js"></script> 12 <script src="../../../../../resources/testharnessreport.js"></script> 13 13 </head> 14 14 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/cssom-cssstyledeclaration-set.html
r232004 r232005 9 9 <meta name="flags" content="dom"> 10 10 11 <script src=" /resources/testharness.js"></script>12 <script src=" /resources/testharnessreport.js"></script>11 <script src="../../../../../resources/testharness.js"></script> 12 <script src="../../../../../resources/testharnessreport.js"></script> 13 13 </head> 14 14 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/cssom-fontfacerule-constructors.html
r232004 r232005 5 5 <link rel="author" title="Paul Irish" href="mailto:paul.irish@gmail.com"> 6 6 <link rel="reviewer" title="Ms2ger" href="mailto:ms2ger@gmail.com"> <!-- 2012-06-17 --> 7 <link rel="help" href="http ://www.w3.org/TR/cssom-1/#css-font-face-rule">7 <link rel="help" href="https://drafts.csswg.org/css-fonts-4/#om-fontface"> 8 8 9 9 <meta name="flags" content="dom"> 10 10 11 <script src=" /resources/testharness.js"></script>12 <script src=" /resources/testharnessreport.js"></script>11 <script src="../../../../../resources/testharness.js"></script> 12 <script src="../../../../../resources/testharnessreport.js"></script> 13 13 </head> 14 14 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/cssom-fontfacerule.html
r232004 r232005 4 4 <title>CSSOM Parsing Test: @font-face rules parsed into CSSOM CSSFontFaceRules</title> 5 5 <link rel="author" title="Paul Irish" href="mailto:paul.irish@gmail.com"> 6 <link rel="help" href="http ://www.w3.org/TR/cssom-1/#css-font-face-rule">6 <link rel="help" href="https://drafts.csswg.org/css-fonts-4/#om-fontface"> 7 7 8 8 <meta name="flags" content="dom"> 9 9 10 <script src=" /resources/testharness.js"></script>11 <script src=" /resources/testharnessreport.js"></script>10 <script src="../../../../../resources/testharness.js"></script> 11 <script src="../../../../../resources/testharnessreport.js"></script> 12 12 </head> 13 13 … … 45 45 test(function(){ 46 46 47 assert_equals(validRules[0].style.src, 'url( http://foo/bar/font.ttf)');47 assert_equals(validRules[0].style.src, 'url("http://foo/bar/font.ttf")'); 48 48 assert_equals(validRules[1].style.fontFamily, 'STIXGeneral'); 49 49 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/cssom-ruleTypeAndOrder.html
r232004 r232005 5 5 <meta name="flags" content="dom"> 6 6 <meta name="assert" content="Testing Serialization of Style Rules"> 7 <script src=" /resources/testharness.js"></script>8 <script src=" /resources/testharnessreport.js"></script>7 <script src="../../../../../resources/testharness.js"></script> 8 <script src="../../../../../resources/testharnessreport.js"></script> 9 9 <style id="s-0"> 10 10 @namespace svg "http://www.w3.org/2000/svg"; -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/cssom-setProperty-shorthand.html
r232004 r232005 9 9 <meta name="flags" content="dom"> 10 10 11 <script src=" /resources/testharness.js"></script>12 <script src=" /resources/testharnessreport.js"></script>11 <script src="../../../../../resources/testharness.js"></script> 12 <script src="../../../../../resources/testharnessreport.js"></script> 13 13 </head> 14 14 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/cssstyledeclaration-csstext.html
r232004 r232005 8 8 <meta name="assert" content="CSS declarations is serialized as expected"> 9 9 <meta name="flags" content="dom"> 10 <script src=" /resources/testharness.js"></script>11 <script src=" /resources/testharnessreport.js"></script>10 <script src="../../../../../resources/testharness.js"></script> 11 <script src="../../../../../resources/testharnessreport.js"></script> 12 12 </head> 13 13 <body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/cssstyledeclaration-mutability.html
r232004 r232005 9 9 <meta name="flags" content="dom"> 10 10 11 <script src=" /resources/testharness.js"></script>12 <script src=" /resources/testharnessreport.js"></script>11 <script src="../../../../../resources/testharness.js"></script> 12 <script src="../../../../../resources/testharnessreport.js"></script> 13 13 </head> 14 14 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/escape.html
r232004 r232005 3 3 <title>CSS#escape</title> 4 4 <link rel=help href=https://drafts.csswg.org/cssom-1/#the-css.escape()-method> 5 <script src= /resources/testharness.js></script>6 <script src= /resources/testharnessreport.js></script>5 <script src=../../../../../resources/testharness.js></script> 6 <script src=../../../../../resources/testharnessreport.js></script> 7 7 <div id=log></div> 8 8 <script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-pseudo-expected.txt
r232004 r232005 7 7 FAIL Item-based blockification of nonexistent pseudo-elements assert_equals: Pseudo-styles of display: flex elements should get blockified expected "block" but got "inline" 8 8 PASS display: contents on pseudo-elements 9 FAIL Unknown pseudo-elements throw assert_throws: getComputedStyle with an unknown pseudo-element throws function "() => getComputedStyle(div, "totallynotapseudo")" did not throw 9 10 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-pseudo.html
r232004 r232005 5 5 <link rel="help" href="https://drafts.csswg.org/cssom/#resolved-values"> 6 6 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> 7 <script src= /resources/testharness.js></script>8 <script src= /resources/testharnessreport.js></script>7 <script src=../../../../../resources/testharness.js></script> 8 <script src=../../../../../resources/testharnessreport.js></script> 9 9 <style> 10 10 #test { width: 100px; } … … 110 110 }); 111 111 }, "display: contents on pseudo-elements"); 112 test(function() { 113 var div = document.getElementById('test'); 114 assert_throws(new TypeError(), () => getComputedStyle(div, "totallynotapseudo"), 115 "getComputedStyle with an unknown pseudo-element throws"); 116 }, "Unknown pseudo-elements throw"); 112 117 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/historical.html
r232004 r232005 2 2 <title>Historical features</title> 3 3 <link rel="help" href="https://drafts.csswg.org/cssom/#changes-from-5-december-2013"> 4 <script src=" /resources/testharness.js"></script>5 <script src=" /resources/testharnessreport.js"></script>4 <script src="../../../../../resources/testharness.js"></script> 5 <script src="../../../../../resources/testharnessreport.js"></script> 6 6 <div id=log></div> 7 7 <script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/inline-style-001.html
r232004 r232005 7 7 <meta name="flags" content="dom"> 8 8 <meta name="assert" content="Inline CSSStyleDeclaration is properly initialized and can be modified through its interface"> 9 <script src=" /resources/testharness.js" type="text/javascript"></script>10 <script src=" /resources/testharnessreport.js" type="text/javascript"></script>9 <script src="../../../../../resources/testharness.js" type="text/javascript"></script> 10 <script src="../../../../../resources/testharnessreport.js" type="text/javascript"></script> 11 11 </head> 12 <script id="metadata_cache">/*13 {14 "CSSStyleDeclaration_accessible": { "assert": "Can access CSSStyleDeclaration through style property" },15 "read": { "assert": "initial property values are correct" },16 "csstext_write": {17 "assert": ["setting cssText adds new properties",18 "setting cssText removes existing properties",19 "properties set through cssText are reflected in the computed style"]20 },21 "property_write": {22 "assert": ["setProperty adds new properties",23 "properties set through setProperty are reflected in the computed style"]24 },25 "shorthand_properties": { "assert": "shorthand property is expanded" }26 }27 */</script>28 12 <body> 29 13 <noscript>Test not run - javascript required.</noscript> … … 33 17 test(function() { 34 18 var test = document.getElementById("test"); 35 assert_own_property(test, "style"); 36 assert_readonly(test, "style"); 19 assert_idl_attribute(test, "style"); 37 20 declaration = test.style; 38 21 }, "CSSStyleDeclaration_accessible", { … … 41 24 42 25 test(function() { 43 assert_ regexp_match(declaration.cssText, /margin-left: 5px;\s*/);26 assert_equals(declaration.cssText, "margin-left: 5px;"); 44 27 assert_equals(declaration.getPropertyValue("margin-left"), "5px"); 45 28 }, "read", { … … 49 32 test(function() { 50 33 declaration.cssText = "margin-left: 10px; padding-left: 10px;"; 51 assert_ regexp_match(declaration.cssText, /margin-left: 10px;\s+padding-left: 10px;\s+/);34 assert_equals(declaration.cssText, "margin-left: 10px; padding-left: 10px;"); 52 35 assert_equals(declaration.length, 2); 53 36 assert_equals(declaration.item(0), "margin-left"); -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/insertRule-charset-no-index.html
r232004 r232005 7 7 <link rel="help" href="http://www.w3.org/TR/cssom-1/#the-cssrule-interface"> 8 8 <meta name="flags" content="dom"> 9 <script src=" /resources/testharness.js" type="text/javascript"></script>10 <script src=" /resources/testharnessreport.js" type="text/javascript"></script>9 <script src="../../../../../resources/testharness.js" type="text/javascript"></script> 10 <script src="../../../../../resources/testharnessreport.js" type="text/javascript"></script> 11 11 <link rel="stylesheet" type="text/css" href="support/import-charset.css" id="linkElement" > 12 12 </head> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/insertRule-import-no-index.html
r232004 r232005 7 7 <link rel="help" href="http://www.w3.org/TR/cssom-1/#the-cssrule-interface"> 8 8 <meta name="flags" content="dom"> 9 <script src=" /resources/testharness.js" type="text/javascript"></script>10 <script src=" /resources/testharnessreport.js" type="text/javascript"></script>9 <script src="../../../../../resources/testharness.js" type="text/javascript"></script> 10 <script src="../../../../../resources/testharnessreport.js" type="text/javascript"></script> 11 11 <style id="styleElement"> 12 12 @import url("support/a-green.css"); -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/insertRule-namespace-no-index.html
r232004 r232005 7 7 <link rel="help" href="http://www.w3.org/TR/cssom-1/#the-cssrule-interface"> 8 8 <meta name="flags" content="dom"> 9 <script src=" /resources/testharness.js" type="text/javascript"></script>10 <script src=" /resources/testharnessreport.js" type="text/javascript"></script>9 <script src="../../../../../resources/testharness.js" type="text/javascript"></script> 10 <script src="../../../../../resources/testharnessreport.js" type="text/javascript"></script> 11 11 <style id="styleElement"> 12 12 @namespace svg url(http://servo); -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/insertRule-no-index.html
r232004 r232005 7 7 <link rel="help" href="http://www.w3.org/TR/cssom-1/#the-cssrule-interface"> 8 8 <meta name="flags" content="dom"> 9 <script src=" /resources/testharness.js" type="text/javascript"></script>10 <script src=" /resources/testharnessreport.js" type="text/javascript"></script>9 <script src="../../../../../resources/testharness.js" type="text/javascript"></script> 10 <script src="../../../../../resources/testharnessreport.js" type="text/javascript"></script> 11 11 <style id="styleElement"> 12 12 /* An initial style rule to test where the new rule is inserted relative to this one */ -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/interfaces.html
r232004 r232005 5 5 <link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"> 6 6 <link rel="help" href="https://drafts.csswg.org/cssom-1/#idl-index"> 7 <script src= /resources/testharness.js></script>8 <script src= /resources/testharnessreport.js></script>7 <script src=../../../../../resources/testharness.js></script> 8 <script src=../../../../../resources/testharnessreport.js></script> 9 9 <script src=/resources/WebIDLParser.js></script> 10 10 <script src=/resources/idlharness.js></script> … … 32 32 var style_element, svg_element, xmlss_pi; 33 33 34 function doTest([html, dom, cssom]) {34 function doTest([html, dom, uievents, cssom]) { 35 35 style_element = document.getElementById('styleElement'); 36 36 svg_element = document.getElementById('svgElement'); … … 40 40 var svg = "interface SVGElement : Element {};"; 41 41 idlArray.add_untested_idls(html + dom + svg); 42 idlArray.add_untested_idls(uievents, { only: [ 43 'UIEvent', 44 'UIEventInit', 45 'MouseEvent', 46 'MouseEventInit', 47 'EventModifierInit' 48 ]}); 42 49 idlArray.add_idls(cssom); 43 50 … … 82 89 return Promise.all([fetchData("/interfaces/html.idl"), 83 90 fetchData("/interfaces/dom.idl"), 91 fetchData("/interfaces/uievents.idl"), 84 92 fetchData("/interfaces/cssom.idl"), 85 93 waitForLoad()]) -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/medialist-interfaces-001-expected.txt
r232004 r232005 3 3 PASS mediatest_medialist_serialize_comma 4 4 PASS mediatest_medialist_serialize_empty 5 FAIL mediatest_medialist_serialize_lexicographical assert_equals: expected "all, print, screen" but got "all, screen, print" 5 PASS mediatest_medialist_serialize_order 6 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/medialist-interfaces-001.html
r232004 r232005 8 8 <meta name="flags" content="dom"> 9 9 <meta name="assert" content="MediaLists are serialized according to the specification"> 10 <script src="/resources/testharness.js" type="text/javascript"></script> 11 <script src="/resources/testharnessreport.js" type="text/javascript"></script> 12 <script id="metadata_cache">/* 13 { 14 "mediatest_medialist_serialize_element": { 15 "help": ["http://www.w3.org/TR/cssom-1/#the-medialist-interface", 16 "http://www.w3.org/TR/cssom-1/#serializing-media-queries"], 17 "assert": ["MediaList.mediaText equals the 'media' value of the initial 'style' element."] 18 }, 19 "mediatest_medialist_serialize_comma": { 20 "help": ["http://www.w3.org/TR/cssom-1/#the-medialist-interface", 21 "http://www.w3.org/TR/cssom-1/#serializing-media-queries"], 22 "assert": ["To serialize a comma-separated list concatenate all items of the list in list order while separating them by \",\" (U+002C), followed by a space (U+0020)."] 23 }, 24 "mediatest_medialist_serialize_empty": { 25 "help": ["http://www.w3.org/TR/cssom-1/#the-medialist-interface", 26 "http://www.w3.org/TR/cssom-1/#serializing-media-queries"], 27 "assert": ["If the media query list is empty return the empty string."] 28 }, 29 "mediatest_medialist_serialize_lexicographical": { 30 "help": ["http://www.w3.org/TR/cssom-1/#the-medialist-interface", 31 "http://www.w3.org/TR/cssom-1/#serializing-media-queries"], 32 "assert": ["Each media query in the list of media queries should be sorted in lexicographical order."] 33 } 34 } 35 */</script> 10 <script src="../../../../../resources/testharness.js" type="text/javascript"></script> 11 <script src="../../../../../resources/testharnessreport.js" type="text/javascript"></script> 36 12 </head> 37 13 <body> … … 82 58 83 59 }, "mediatest_medialist_serialize_comma", 84 { help: ["http://www.w3.org/TR/cssom-1/#the-medialist-interface", "http://www.w3.org/TR/cssom-1/#serializ ing-media-queries"],60 { help: ["http://www.w3.org/TR/cssom-1/#the-medialist-interface", "http://www.w3.org/TR/cssom-1/#serialize-a-media-query-list"], 85 61 assert: ["To serialize a comma-separated list concatenate all items of the list in list order while separating them by \",\" (U+002C), followed by a space (U+0020)."] }); 86 62 … … 100 76 mediaList.appendMedium('screen'); 101 77 mediaList.appendMedium('print'); 102 assert_equals(mediaList.mediaText, "all, print, screen");78 assert_equals(mediaList.mediaText, "all, screen, print"); 103 79 104 }, "mediatest_medialist_serialize_ lexicographical",105 { help: ["http://www.w3.org/TR/cssom-1/#the-medialist-interface", "http://www.w3.org/TR/cssom-1/#serializ ing-media-queries"],106 assert: ["Each media query in the list of media queries should be sorted in lexicographical order."] });80 }, "mediatest_medialist_serialize_order", 81 { help: ["http://www.w3.org/TR/cssom-1/#the-medialist-interface", "http://www.w3.org/TR/cssom-1/#serialize-a-media-query-list"], 82 assert: ["Each media query should be sorted in the same order as they appear in the list of media queries."] }); 107 83 108 84 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/medialist-interfaces-002-expected.txt
r232004 r232005 2 2 PASS deleteMedium_called_without_argument 3 3 PASS deleteMedium_removes_correct_medium 4 FAIL deleteMedium_no_matching_medium_to_remove The object can not be found here. 4 PASS deleteMedium_no_matching_medium_to_remove 5 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/medialist-interfaces-002.html
r232004 r232005 8 8 <meta name="flags" content="dom"> 9 9 <meta name="assert" content="MediaList object has deleteMedium method and it functions properly."> 10 <script src="/resources/testharness.js" type="text/javascript"></script> 11 <script src="/resources/testharnessreport.js" type="text/javascript"></script> 12 13 <script id="metadata_cache">/* 14 { 15 "deleteMedium_called_without_argument": { "assert": "MediaList.deleteMedium called without argument throws error." }, 16 "deleteMedium_removes_correct_medium": { "assert": "MediaList.deleteMedium removes correct medium and updates corresponding properties." }, 17 "deleteMedium_no_matching_medium_to_remove": { "assert": "MediaList.deleteMedium doesn't modify MediaList when medium is not found." } 18 } 19 */</script> 20 10 <script src="../../../../../resources/testharness.js" type="text/javascript"></script> 11 <script src="../../../../../resources/testharnessreport.js" type="text/javascript"></script> 21 12 </head> 22 13 … … 68 59 media_list.appendMedium("all"); 69 60 70 media_list.deleteMedium("screen");61 assert_throws("NotFoundError", () => media_list.deleteMedium("screen")); 71 62 72 63 assert_equals(media_list.length, 1); -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/medialist-interfaces-003.html
r232004 r232005 8 8 <meta name="flags" content="dom"> 9 9 <meta name="assert" content="Media Queries are serialized according to the specification"> 10 <script src=" /resources/testharness.js" type="text/javascript"></script>11 <script src=" /resources/testharnessreport.js" type="text/javascript"></script>10 <script src="../../../../../resources/testharness.js" type="text/javascript"></script> 11 <script src="../../../../../resources/testharnessreport.js" type="text/javascript"></script> 12 12 </head> 13 <script id="metadata_cache">/*14 {15 "mediatest_mediaquery_serialize_1": {16 "assert": ["First explicit example input (first column) and output (second column) in specification."]17 },18 "mediatest_mediaquery_serialize_2": {19 "assert": ["Second explicit example input (first column) and output (second column) in specification."]20 }21 }22 */</script>23 13 <body> 24 14 <noscript>Test not run - javascript required.</noscript> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/medialist-interfaces-004.html
r232004 r232005 7 7 <meta name="flags" content="dom"> 8 8 <meta name="assert" content="MediaList object has appendMedium method and it functions properly."> 9 <script src="/resources/testharness.js" type="text/javascript"></script> 10 <script src="/resources/testharnessreport.js" type="text/javascript"></script> 11 12 <script id="metadata_cache">/* 13 { 14 "appendMedium_correctly_appends_medium_to_empty_MediaList": { "assert": "MediaList.appendMedium correctly adds medium to empty MediaList." }, 15 "appendMedium_correctly_appends_medium_to_nonempty_MediaList": { "assert": "MediaList.appendMedium correctly adds medium to a MediaList that already has a medium." } 16 } 17 */</script> 18 9 <script src="../../../../../resources/testharness.js" type="text/javascript"></script> 10 <script src="../../../../../resources/testharnessreport.js" type="text/javascript"></script> 19 11 </head> 20 12 … … 64 56 assert_equals(media_list.item(0), "screen"); 65 57 assert_equals(media_list.item(1), "all"); 66 assert_equals(media_list.mediaText, " all, screen");58 assert_equals(media_list.mediaText, "screen, all"); 67 59 }, "appendMedium_correctly_appends_medium_to_nonempty_MediaList", 68 60 { assert: "MediaList.appendMedium correctly adds medium to a MediaList that already has a medium." }); -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/overflow-serialization.html
r232004 r232005 3 3 <head> 4 4 <meta charset="utf-8"> 5 <title>CSSOM - Overlow property has different serialization than other shorthands.</title> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 5 <title>CSSOM - Overflow shorthand serialization</title> 6 <link rel="help" href="https://drafts.csswg.org/cssom/#serialize-a-css-value"> 7 <script src="../../../../../resources/testharness.js"></script> 8 <script src="../../../../../resources/testharnessreport.js"></script> 8 9 <style> 9 10 div { overflow: inherit; } … … 11 12 div { overflow-x: initial; overflow-y: initial; } 12 13 div { overflow-x: scroll; overflow-y: scroll; } 13 div { overflow-x: inherit; overflow-y: unset; }14 div { overflow-x: scroll; overflow-y: hidden; } 14 15 </style> 15 16 … … 22 23 assert_equals(styleSheet.cssRules[2].style.cssText, "overflow: initial;", "Overflow-x/y longhands with same CSS-wide keyword should serialize correctly."); 23 24 assert_equals(styleSheet.cssRules[3].style.cssText, "overflow: scroll;", "Overflow-x/y longhands with same non-CSS-wide keyword should serialize correctly."); 24 assert_equals(styleSheet.cssRules[4].style.cssText, "overflow -x: inherit; overflow-y: unset;", "Overflow-x/y longhands with different keywords should serialize correctly.");25 assert_equals(styleSheet.cssRules[4].style.cssText, "overflow: scroll hidden;", "Overflow-x/y longhands with different keywords should serialize correctly."); 25 26 26 27 var div = document.createElement('div'); … … 40 41 assert_equals(div.style.overflow, "scroll", "Overflow-x/y longhands with same non-CSS-wide keyword should serialize correctly."); 41 42 42 div.style.overflowX = " inherit";43 div.style.overflowY = " unset";44 assert_equals(div.style.overflow, " ", "Overflow-x/y longhands with different keywords shouldn't serialize.");43 div.style.overflowX = "scroll"; 44 div.style.overflowY = "hidden"; 45 assert_equals(div.style.overflow, "scroll hidden", "Overflow-x/y longhands with different keywords should serialize correctly."); 45 46 }); 46 47 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/selectorSerialize-expected.txt
r232004 r232005 12 12 FAIL single pseudo (simple) selector ":nth-last-of-type" which accepts arguments in the sequence of simple selectors that is not a universal selector assert_equals: expected ":nth-last-of-type(2n)" but got ":nth-last-of-type(even)" 13 13 PASS single pseudo (simple) selector ":not" which accepts arguments in the sequence of simple selectors that is not a universal selector 14 FAIL escaped character in attribute name assert_equals: expected "[ns\\:foo]" but got "[ns:foo]" 15 FAIL escaped character as code point in attribute name assert_equals: expected "[\\30 zonk]" but got "[0zonk]" 16 FAIL escaped character (@) in attribute name assert_equals: expected "[\\@]" but got "[@]" 17 FAIL escaped character in attribute name with any namespace assert_equals: expected "[*|ns\\:foo]" but got "[*|ns:foo]" 18 FAIL escaped character in attribute prefix assert_equals: expected "[ns\\:odd|foo]" but got "[ns:odd|foo]" 19 FAIL escaped character in both attribute prefix and name assert_equals: expected "[ns\\:odd|odd\:name]" but got "[ns:odd|odd:name]" 14 20 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/selectorSerialize.html
r232004 r232005 8 8 <meta name="flags" content="dom"> 9 9 <meta charset="utf-8"> 10 <script src=" /resources/testharness.js"></script>11 <script src=" /resources/testharnessreport.js"></script>10 <script src="../../../../../resources/testharness.js"></script> 11 <script src="../../../../../resources/testharnessreport.js"></script> 12 12 <style id="teststyles"> 13 13 </style> … … 20 20 style_element.firstChild.data = source + "{ font-size: 1em; }"; 21 21 var sheet = style_element.sheet; 22 assert_equals(sheet.cssRules[ 0].selectorText, expected_result);22 assert_equals(sheet.cssRules[sheet.cssRules.length - 1].selectorText, expected_result); 23 23 } 24 24 … … 74 74 75 75 76 77 78 76 test(function(){ 79 77 run_tests_on_anplusb_selector(':nth-child'); … … 99 97 }, 'single pseudo (simple) selector ":not" which accepts arguments in the sequence of simple selectors that is not a universal selector') 100 98 101 102 103 104 99 var escaped_ns_rule = "@namespace ns\\:odd url(ns);"; 100 test(function() { 101 assert_selector_serializes_to("[ns\\:foo]", "[ns\\:foo]"); 102 }, "escaped character in attribute name"); 103 test(function() { 104 assert_selector_serializes_to("[\\30zonk]", "[\\30 zonk]"); 105 }, "escaped character as code point in attribute name"); 106 test(function() { 107 assert_selector_serializes_to("[\\@]", "[\\@]"); 108 }, "escaped character (@) in attribute name"); 109 test(function() { 110 assert_selector_serializes_to("[*|ns\\:foo]", "[*|ns\\:foo]"); 111 }, "escaped character in attribute name with any namespace"); 112 test(function() { 113 assert_selector_serializes_to(escaped_ns_rule + "[ns\\:odd|foo]", "[ns\\:odd|foo]"); 114 }, "escaped character in attribute prefix"); 115 test(function() { 116 assert_selector_serializes_to(escaped_ns_rule + "[ns\\:odd|odd\\:name]", "[ns\\:odd|odd\\:name]"); 117 }, "escaped character in both attribute prefix and name"); 105 118 </script> 106 119 </body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/selectorText-modification-restyle-001.html
r232004 r232005 2 2 <meta charset="utf-8"> 3 3 <title>(Test #1) CSSOM - CSSStyleRule.selectorText Modification Restyle - Test #1</title> 4 <link rel="help" href="https://drafts.csswg.org/cssom/#dom-cssstylerule-selectortext"> 4 5 <link rel="match" href="selectorText-modification-restyle-001-ref.html"> 5 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/serialization-CSSDeclaration-with-important.html
r232004 r232005 2 2 <meta charset=utf-8> 3 3 <title>cssom - Serialization of CSS declaration with "important" flag</title> 4 <script src=/resources/testharness.js></script> 5 <script src=/resources/testharnessreport.js></script> 4 <link rel="help" href="https://drafts.csswg.org/cssom/#serialize-a-css-declaration"> 5 <script src=../../../../../resources/testharness.js></script> 6 <script src=../../../../../resources/testharnessreport.js></script> 6 7 <div id="noWhitespace" style="display: inline !important;"></div> 7 8 <div id="whitespace" style="background-color: blue !important; color: red ! important;"></div> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/serialize-namespaced-type-selectors.html
r232004 r232005 7 7 <meta name="flags" content="dom"> 8 8 <meta charset="utf-8"> 9 <script src=" /resources/testharness.js"></script>10 <script src=" /resources/testharnessreport.js"></script>9 <script src="../../../../../resources/testharness.js"></script> 10 <script src="../../../../../resources/testharnessreport.js"></script> 11 11 <style id="teststyles"> 12 12 </style> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/serialize-values-expected.txt
r232004 r232005 320 320 PASS content: url("http://localhost/") 321 321 PASS content: url(http://localhost/) 322 PASS content: counter(par-num) 322 FAIL content: counter(par-num) assert_equals: content raw inline style declaration expected "counter(par-num)" but got "counter(par-num, decimal)" 323 FAIL content: counter(par-num, decimal) assert_equals: content raw inline style declaration expected "counter(par-num)" but got "counter(par-num, decimal)" 323 324 PASS content: counter(par-num, upper-roman) 324 325 PASS content: attr(foo-bar) -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/serialize-values.html
r232004 r232005 2 2 <meta charset="utf-8"> 3 3 <title>CSSOM serialize values</title> 4 <link rel="help" href="https://drafts.csswg.org/cssom/#serializing-css-values"> 4 5 <meta name="author" title="Josh Matthews" href="mailto:josh@joshmatthews.net"> 5 <script src=" /resources/testharness.js"></script>6 <script src=" /resources/testharnessreport.js"></script>6 <script src="../../../../../resources/testharness.js"></script> 7 <script src="../../../../../resources/testharnessreport.js"></script> 7 8 <body> 8 9 <div id="log"></div> … … 90 91 91 92 function counter() { 92 var values = [ {actual:'counter(par-num)',93 serialized: 'counter(par-num, decimal)'},93 var values = ['counter(par-num)', 94 { actual: 'counter(par-num, decimal)', serialized: 'counter(par-num)' }, 94 95 'counter(par-num, upper-roman)']; 95 96 return iterable(values); -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/serialize-variable-reference-expected.txt
r232004 r232005 1 1 2 PASS Longhand with variable preserves original serialization: with w ithespace3 PASS Shorthand with variable preserves original serialization: with w ithespace4 FAIL Longhand with variable preserves original serialization: without w ithespace assert_equals: expected "font-size:var(--a);" but got "font-size: var(--a);"5 FAIL Shorthand with variable preserves original serialization: without w ithespace assert_equals: expected "font:var(--a);" but got "font: var(--a);"2 PASS Longhand with variable preserves original serialization: with whitespace 3 PASS Shorthand with variable preserves original serialization: with whitespace 4 FAIL Longhand with variable preserves original serialization: without whitespace assert_equals: expected "font-size:var(--a);" but got "font-size: var(--a);" 5 FAIL Shorthand with variable preserves original serialization: without whitespace assert_equals: expected "font:var(--a);" but got "font: var(--a);" 6 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/serialize-variable-reference.html
r232004 r232005 2 2 <meta charset="utf-8"> 3 3 <title>CSSOM - Serialization with variable preserves original serialization.</title> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 4 <link rel="help" href="https://drafts.csswg.org/css-variables/#serializing-custom-props"> 5 <link rel="help" href="https://drafts.csswg.org/css-variables/#variables-in-shorthands"> 6 <script src="../../../../../resources/testharness.js"></script> 7 <script src="../../../../../resources/testharnessreport.js"></script> 6 8 <div id="longhand-whitespace" style="font-size: var(--a);"></div> 7 9 <div id="shorthand-whitespace" style="font: var(--a);"></div> … … 13 15 14 16 assert_equals(elem.style.cssText, 'font-size: var(--a);'); 15 }, 'Longhand with variable preserves original serialization: with w ithespace')17 }, 'Longhand with variable preserves original serialization: with whitespace') 16 18 17 19 test(function() { … … 19 21 20 22 assert_equals(elem.style.cssText, 'font: var(--a);'); 21 }, 'Shorthand with variable preserves original serialization: with w ithespace')23 }, 'Shorthand with variable preserves original serialization: with whitespace') 22 24 23 25 test(function() { … … 25 27 26 28 assert_equals(elem.style.cssText, 'font-size:var(--a);'); 27 }, 'Longhand with variable preserves original serialization: without w ithespace')29 }, 'Longhand with variable preserves original serialization: without whitespace') 28 30 29 31 test(function() { … … 31 33 32 34 assert_equals(elem.style.cssText, 'font:var(--a);'); 33 }, 'Shorthand with variable preserves original serialization: without w ithespace')35 }, 'Shorthand with variable preserves original serialization: without whitespace') 34 36 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/shorthand-serialization-expected.txt
r232004 r232005 10 10 PASS Shorthand serialization with just longhands. 11 11 FAIL Shorthand serialization with variable and variable from other shorthand. assert_equals: expected "var(--a)" but got "" 12 PASS Shorthand serialization after setting 12 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/shorthand-serialization.html
r232004 r232005 4 4 <meta charset="utf-8"> 5 5 <title>Shorthand serialization should be done correctly.</title> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 6 <link rel="help" href="https://drafts.csswg.org/cssom/#serialize-a-css-declaration-block"> 7 <link rel="help" href="https://drafts.csswg.org/css-variables/#variables-in-shorthands"> 8 <script src="../../../../../resources/testharness.js"></script> 9 <script src="../../../../../resources/testharnessreport.js"></script> 8 10 </head> 9 11 <body> … … 16 18 <div id="foo6" style="margin-right: 10px !important; margin-left: 10px !important; margin-top: 10px !important; margin-bottom: 10px!important;">foo</div> 17 19 18 <div id="foo7" style="background:var(--a);">foo</a> 20 <div id="foo7" style="background:var(--a);">foo</div> 21 <div id="test"></div> 19 22 20 23 <script> … … 49 52 assert_equals(elem7.style.backgroundPosition, ''); 50 53 }, "Shorthand serialization with variable and variable from other shorthand."); 54 55 test(function() { 56 var testElem = document.getElementById("test"); 57 testElem.style.margin = "20px 20px 20px 20px"; 58 assert_equals(testElem.style.margin, "20px"); 59 assert_equals(testElem.style.cssText, "margin: 20px;") 60 }, "Shorthand serialization after setting"); 51 61 </script> 52 62 </body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/style-sheet-interfaces-001.html
r232004 r232005 7 7 <meta name="flags" content="dom"> 8 8 <meta name="assert" content="StyleSheet and CSSStyleSheet objects have the properties specified in their interfaces"> 9 <script src=" /resources/testharness.js" type="text/javascript"></script>10 <script src=" /resources/testharnessreport.js" type="text/javascript"></script>9 <script src="../../../../../resources/testharness.js" type="text/javascript"></script> 10 <script src="../../../../../resources/testharnessreport.js" type="text/javascript"></script> 11 11 <style id="styleElement" type="text/css" media="all" title="internal style sheet" disabled="disabled"> 12 12 @import url('support/a-green.css'); … … 14 14 </style> 15 15 <link id="linkElement" rel="stylesheet" href="support/b-green.css"> 16 <script id="metadata_cache">/*17 {18 "sheet_property": {19 "help": "http://www.w3.org/TR/cssom-1/#the-linkstyle-interface",20 "assert": ["styleElement.sheet exists",21 "styleElement.sheet is a CSSStyleSheet",22 "linkElement.sheet exists",23 "linkElement.sheet is a CSSStyleSheet"]24 },25 "CSSStyleSheet_properties": {26 "assert": ["ownerRule, cssRules, insertRule and deleteRule properties exist on CSSStyleSheet",27 "ownerRule, cssRules are read only"]28 },29 "CSSStyleSheet_property_values": {30 "help": ["http://www.w3.org/TR/cssom-1/#css-style-sheets",31 "http://www.w3.org/TR/cssom-1/#cssimportrule"],32 "assert": "CSSStyleSheet initial property values are correct"33 },34 "StyleSheet_properties": {35 "assert": ["type, disabled, ownerNode, parentStyleSheet, href, title, and media properties exist on StyleSheet",36 "type, ownerNode, parentStyleSheet, href, title, media properties are read only"]37 },38 "StyleSheet_property_values": { "assert": "StyleSheet initial property values are correct" }39 }40 */</script>41 16 </head> 42 17 <body> … … 50 25 var linkSheet; 51 26 test(function() { 52 assert_ own_property(styleElement, "sheet");27 assert_idl_attribute(styleElement, "sheet"); 53 28 assert_readonly(styleElement, "sheet"); 54 29 styleSheet = styleElement.sheet; 55 30 assert_true(styleSheet instanceof CSSStyleSheet); 56 assert_ own_property(linkElement, "sheet");31 assert_idl_attribute(linkElement, "sheet"); 57 32 linkSheet = linkElement.sheet; 58 33 assert_true(linkSheet instanceof CSSStyleSheet); … … 74 49 75 50 test(function() { 76 assert_ own_property(styleSheet, "ownerRule");77 assert_ own_property(styleSheet, "cssRules");51 assert_idl_attribute(styleSheet, "ownerRule"); 52 assert_idl_attribute(styleSheet, "cssRules"); 78 53 assert_inherits(styleSheet, "insertRule"); 79 54 assert_inherits(styleSheet, "deleteRule"); … … 97 72 98 73 test(function() { 99 assert_ own_property(styleSheet, "type");100 assert_ own_property(styleSheet, "disabled");101 assert_ own_property(styleSheet, "ownerNode");102 assert_ own_property(styleSheet, "parentStyleSheet");103 assert_ own_property(styleSheet, "href");104 assert_ own_property(styleSheet, "title");105 assert_ own_property(styleSheet, "media");74 assert_idl_attribute(styleSheet, "type"); 75 assert_idl_attribute(styleSheet, "disabled"); 76 assert_idl_attribute(styleSheet, "ownerNode"); 77 assert_idl_attribute(styleSheet, "parentStyleSheet"); 78 assert_idl_attribute(styleSheet, "href"); 79 assert_idl_attribute(styleSheet, "title"); 80 assert_idl_attribute(styleSheet, "media"); 106 81 107 82 assert_readonly(styleSheet, "type"); … … 110 85 assert_readonly(styleSheet, "href"); 111 86 assert_readonly(styleSheet, "title"); 112 assert_readonly(styleSheet, "media");113 87 }, "StyleSheet_properties", 114 88 { assert: [ "type, disabled, ownerNode, parentStyleSheet, href, title, and media properties exist on StyleSheet", 115 "type, ownerNode, parentStyleSheet, href, title, mediaproperties are read only" ] });89 "type, ownerNode, parentStyleSheet, href, and title properties are read only" ] }); 116 90 117 91 test(function() { -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/style-sheet-interfaces-002.html
r232004 r232005 9 9 <meta name="flags" content="dom"> 10 10 <meta name="assert" content="StyleSheet and CSSStyleSheet objects have the properties specified in their interfaces"> 11 <script src=" /resources/testharness.js" type="text/javascript"></script>12 <script src=" /resources/testharnessreport.js" type="text/javascript"></script>11 <script src="../../../../../resources/testharness.js" type="text/javascript"></script> 12 <script src="../../../../../resources/testharnessreport.js" type="text/javascript"></script> 13 13 <style id="styleElement" type="text/css" media="all" title="internal style sheet" disabled="disabled"> 14 14 * { margin: 0; padding: 0; } 15 15 </style> 16 <script id="metadata_cache">/*17 {18 "add_rule": {19 "assert": ["Initial rule list is of size 1",20 "Can add a rule at first index"]21 },22 "delete_rule": { "assert": "Can delete rules until rule list is empty" }23 }24 */</script>25 16 </head> 26 17 <body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/stylesheet-same-origin.sub.html
r232004 r232005 4 4 <meta charset="utf-8"> 5 5 <title>CSSOM - CSSStylesheet should support origins</title> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 6 <link rel="help" href="https://drafts.csswg.org/cssom/#the-cssstylesheet-interface"> 7 <script src="../../../../../resources/testharness.js"></script> 8 <script src="../../../../../resources/testharnessreport.js"></script> 8 9 9 10 <link id="crossorigin" href="http://www1.{{host}}:{{ports[http][1]}}/stylesheet-same-origin.css" rel="stylesheet"> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/support/support/w3c-import.log
r232004 r232005 15 15 ------------------------------------------------------------------------ 16 16 List of files: 17 /LayoutTests/imported/w3c/web-platform-tests/css om/support/support/README18 /LayoutTests/imported/w3c/web-platform-tests/css om/support/support/swatch-green.png19 /LayoutTests/imported/w3c/web-platform-tests/css om/support/support/swatch-red.png17 /LayoutTests/imported/w3c/web-platform-tests/css/cssom/support/support/README 18 /LayoutTests/imported/w3c/web-platform-tests/css/cssom/support/support/swatch-green.png 19 /LayoutTests/imported/w3c/web-platform-tests/css/cssom/support/support/swatch-red.png -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/ttwf-cssom-doc-ext-load-count.html
r232004 r232005 10 10 <meta name="flags" content="dom"> 11 11 <meta name="assert" content="The styleSheets length attribute must reflect the number of sheets at page load and after dynamically"> 12 <script src="/resources/testharness.js"></script> 13 <script src="/resources/testharnessreport.js"></script> 14 <script id="metadata_cache">/* 15 { 16 "stylesheet.css should be loaded and styleSheets.length === 1": {}, 17 "stylesheet.css should be unloaded and styleSheets.length === 0": {}, 18 "stylesheet-1.css should be loaded and styleSheets.length === 1": {} 19 } 20 */</script> 12 <script src="../../../../../resources/testharness.js"></script> 13 <script src="../../../../../resources/testharnessreport.js"></script> 21 14 </head> 22 15 <body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/ttwf-cssom-doc-ext-load-tree-order.html
r232004 r232005 16 16 <meta name="flags" content="dom"> 17 17 <meta name="assert" content="Document's style sheets created from HTTP Link headers are first in list and loaded in header order"> 18 <script src=" /resources/testharness.js"></script>19 <script src=" /resources/testharnessreport.js"></script>18 <script src="../../../../../resources/testharness.js"></script> 19 <script src="../../../../../resources/testharnessreport.js"></script> 20 20 </head> 21 21 <body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/ttwf-cssom-document-extension.html
r232004 r232005 9 9 <meta name="flags" content="dom"> 10 10 <meta name="assert" content="The styleSheets attribute must return a StyleSheetList sequence representing the document style sheets."> 11 <script src=" /resources/testharness.js"></script>12 <script src=" /resources/testharnessreport.js"></script>11 <script src="../../../../../resources/testharness.js"></script> 12 <script src="../../../../../resources/testharnessreport.js"></script> 13 13 </head> 14 14 <body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/variable-names.html
r232004 r232005 2 2 <meta charset="utf-8"> 3 3 <title>Tests for handling of CSS Custom Property names</title> 4 <link rel="help" href="https://drafts.csswg.org/css-variables/#serializing-custom-props"> 4 5 <meta name="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> 5 <script src=" /resources/testharness.js"></script>6 <script src=" /resources/testharnessreport.js"></script>6 <script src="../../../../../resources/testharness.js"></script> 7 <script src="../../../../../resources/testharnessreport.js"></script> 7 8 <div id="log"></div> 8 9 <script>
Note: See TracChangeset
for help on using the changeset viewer.