Closed
Bug 523089
Opened 16 years ago
Closed 16 years ago
[*|attr] selector doesn't round-trip correctly
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
()
Details
Attachments
(1 file)
3.81 KB,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
In particular, it becomes [attr], which is the same thing as [|attr], since the default namespace doesn't apply to attribute selectors.
![]() |
Assignee | |
Comment 1•16 years ago
|
||
Attachment #407227 -
Flags: review?(dbaron)
Attachment #407227 -
Flags: review?(dbaron) → review+
Comment on attachment 407227 [details] [diff] [review]
Fix
>+ NS_ASSERTION(prefixAtom,
>+ "How did we end up with a namespace if the prefix "
>+ "is unknown?");
Maybe worth commenting that a non-none namespace on attributes can't have come from the default, since the default doesn't apply?
>diff --git a/layout/style/test/test_namespace_rule.html b/layout/style/test/test_namespace_rule.html
Did you test that some of the serialize-and-rematch tests failed without the patch? (Did any others fail without it?)
r=dbaron
![]() |
Assignee | |
Comment 3•16 years ago
|
||
> Did you test that some of the serialize-and-rematch tests failed without the
> patch?
Yes, precisely. The two [*|foo] tests failed serialize-and-rematch.
> (Did any others fail without it?)
No.
Will add the comment.
![]() |
Assignee | |
Comment 4•16 years ago
|
||
Pushed http://hg.mozilla.org/mozilla-central/rev/6af13824b513 with the comment added.
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•