servo/tests/wpt/web-platform-tests/cssom
Jonathan Chan 92ec8f15f0 Implement CSSStyleRule.selectorText.
We parse when assigning using the namespaces of the stylesheet. It isn't
clear if the spec says to do that (Firefox doesn't support the setter at
all, Chrome does, Safari doesn't); the spec issue is here:
https://github.com/w3c/csswg-drafts/issues/1511

Also fix ToCss implementation of AttrSelectorOperator to not pad with
spaces, to conform with CSSOM. This means we have to update some unit
tests that expect operators with spaces around them in attribute
selectors to roundtrip.

See the "attribute selector" section of "Serializing Selectors" here:
https://drafts.csswg.org/cssom/#serializing-selectors

CSSStyleRule.selectorText is specified here:
https://drafts.csswg.org/cssom/#dom-cssstylerule-selectortext
2017-07-12 01:03:58 -07:00
..
support Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
computed-style-001.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
css-style-attribute-modifications.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
css-style-declaration-modifications.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
CSS.html Add test for CSS interface 2017-01-07 23:37:50 -08:00
cssimportrule.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
CSSKeyframeRule.html Implement CSSKeyframeRule.style 2017-01-07 22:18:04 -08:00
CSSKeyframesRule.html CSSKeyframesRule::name setter doesn’t throw anymore 2017-04-26 07:55:01 +02:00
CSSNamespaceRule.html Write tests for CSSOM Interfaces 2016-12-07 23:43:07 +03:00
cssom-cssstyledeclaration-set.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
cssom-cssText-serialize.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
cssom-fontfacerule-constructors.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
cssom-fontfacerule.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
cssom-setProperty-shorthand.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
CSSRuleList.html Write tests for CSSOM Interfaces 2016-12-07 23:43:07 +03:00
cssstyledeclaration-csstext.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
cssstyledeclaration-mutability.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
CSSStyleRule.html Correctly test CSSStyleRule.style. 2017-06-12 15:51:58 -07:00
CSSStyleSheet.html Write tests for CSSOM Interfaces 2016-12-07 23:43:07 +03:00
escape.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
GetBoundingRect.html Fix #6799: set stacking_context_position correctly on 2017-05-30 09:38:37 +02:00
historical.html Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
index-001.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
index-002.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
index-003.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
inline-style-001.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
interfaces.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
medialist-interfaces-001.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
medialist-interfaces-002.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
medialist-interfaces-003.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
medialist-interfaces-004.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
MediaList.html Implement MediaList interface 2016-12-02 23:46:40 +03:00
MediaList.xhtml Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
overflow-serialization.html Fix overflow shorthand serialization. 2016-12-31 15:26:36 +03:00
OWNERS Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
selectorSerialize.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
selectorText-modification-restyle-001-ref.html Implement CSSStyleRule.selectorText. 2017-07-12 01:03:58 -07:00
selectorText-modification-restyle-001.html Implement CSSStyleRule.selectorText. 2017-07-12 01:03:58 -07:00
serialization-CSSDeclaration-with-important.html Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
serialize-namespaced-type-selectors.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
serialize-values.html Update web-platform-tests to revision e8bfc205e36ad699601212cd50083870bad9a75d 2016-11-15 09:35:34 +01:00
serialize-variable-reference.html Shorthand with variable reference should not have extra whitespace after colon for serialization 2017-03-29 12:16:28 +02:00
shorthand-serialization.html Correctly handle unserializable shorthand 2017-01-09 15:38:13 +11:00
style-sheet-interfaces-001.html Force HTMLStyleElement to create a new CSSStyleSheet when re-parsing. 2017-06-22 15:51:59 -07:00
style-sheet-interfaces-002.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
stylesheet-same-origin.css Support origins in CSSOM stylesheets 2017-01-20 22:00:49 +03:00
stylesheet-same-origin.sub.html Support origins in CSSOM stylesheets 2017-01-20 22:00:49 +03:00
StyleSheetList.html Write tests for CSSOM Interfaces 2016-12-07 23:43:07 +03:00
ttwf-cssom-doc-ext-load-count.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
ttwf-cssom-doc-ext-load-tree-order.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
ttwf-cssom-document-extension.html Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00