mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Have CharacterData call children_changed on its parent when data is set.
Have CharacterData.SetData call children_changed on its parent when data is set (if it is a Text node) so that HTMLStyleElement parents can re-parse. Add variant ChildrenMutation::Text for it to use as the mutation. This fixes an issue where an empty <style> element's data is set but the style is not updated. An HTMLStyleElement parent re-parses in its children_changed implementation.
This commit is contained in:
parent
3f2d747689
commit
4142665282
8 changed files with 24 additions and 301 deletions
|
@ -3,24 +3,6 @@
|
|||
[:nth-child serialization produces canonical form]
|
||||
expected: FAIL
|
||||
|
||||
[single universal selector shows '*' when serialized.]
|
||||
expected: FAIL
|
||||
|
||||
[single type (simple) selector in the sequence of simple selectors that is not a universal selector]
|
||||
expected: FAIL
|
||||
|
||||
[single class (simple) selector in the sequence of simple selectors that is not a universal selector]
|
||||
expected: FAIL
|
||||
|
||||
[single id (simple) selector in the sequence of simple selectors that is not a universal selector]
|
||||
expected: FAIL
|
||||
|
||||
[single pseudo (simple) selector which does not accept arguments in the sequence of simple selectors that is not a universal selector]
|
||||
expected: FAIL
|
||||
|
||||
[single pseudo (simple) selector "lang" which accepts arguments in the sequence of simple selectors that is not a universal selector]
|
||||
expected: FAIL
|
||||
|
||||
[single pseudo (simple) selector "nth-child" which accepts arguments in the sequence of simple selectors that is not a universal selector]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -32,7 +14,3 @@
|
|||
|
||||
[single pseudo (simple) selector ":nth-last-of-type" which accepts arguments in the sequence of simple selectors that is not a universal selector]
|
||||
expected: FAIL
|
||||
|
||||
[single pseudo (simple) selector ":not" which accepts arguments in the sequence of simple selectors that is not a universal selector]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,59 +1,11 @@
|
|||
[serialize-namespaced-type-selectors.htm]
|
||||
type: testharness
|
||||
[Simple type selector]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector without a namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector with any namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector without a namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector in any namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector with namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector with namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Simple type selector followed by class]
|
||||
expected: FAIL
|
||||
|
||||
[Simple type selector followed by id]
|
||||
expected: FAIL
|
||||
|
||||
[Simple type selector followed by pseudo class]
|
||||
expected: FAIL
|
||||
|
||||
[Simple type selector followed by pseudo element]
|
||||
expected: FAIL
|
||||
|
||||
[Simple type selector followed by atttribute selector]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector without a namespace followed by class]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector without a namespace followed by id]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector without a namespace followed by pseudo class]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector without a namespace followed by pseudo element]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector without a namespace followed by attribute selector]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector with any namespace followed by class]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -84,21 +36,6 @@
|
|||
[Universal selector followed by attribute selector]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector without a namespace followed by class]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector without a namespace followed by id]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector without a namespace followed by pseudo class]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector without a namespace followed by pseudo element]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector without a namespace followed by attribute selector]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector in any namespace followed by class]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -114,36 +51,6 @@
|
|||
[Universal selector in any namespace followed by attribute selector]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector with namespace followed by class]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector with namespace followed by id]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector with namespace followed by pseudo class]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector with namespace followed by pseudo element]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector with namespace followed by attribute selector]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector with namespace followed by class]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector with namespace followed by id]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector with namespace followed by pseudo class]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector with namespace followed by pseudo element]
|
||||
expected: FAIL
|
||||
|
||||
[Universal selector with namespace followed by attribute selector]
|
||||
expected: FAIL
|
||||
|
||||
[Type selector with namespace equal to default namespace]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue