Closed
Bug 930020
Opened 11 years ago
Closed 11 years ago
Allow CSS pseudo-elements to be hidden from content
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: jwatt, Assigned: heycam)
References
Details
(Whiteboard: [qa-])
Attachments
(2 files)
3.46 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
3.74 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
I need to allow CSS pseudo-elements to be hidden from content in order to fix bug 930010. That should be a case of adding an mUnsafeRulesEnabled check to CSSParserImpl::ParsePseudoSelector.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8339665 -
Flags: review?(bzbarsky)
Comment 3•11 years ago
|
||
Comment on attachment 8339663 [details] [diff] [review] Part 1: Add a flag to pseudo-elements to say whether they are exposed to content. >+ return PseudoElementIsChromeOnly(aType, CSS_PSEUDO_ELEMENT_IS_CHROME_ONLY); That should be calling PseudoElementHasFlags, right? Did this compile? r=me with that fixed.
Attachment #8339663 -
Flags: review?(bzbarsky) → review+
Comment 4•11 years ago
|
||
Comment on attachment 8339665 [details] [diff] [review] Part 2: Use flag to hide <input type=number> pseudo-elements from content. r=me
Attachment #8339665 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 5•11 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #3) > >+ return PseudoElementIsChromeOnly(aType, CSS_PSEUDO_ELEMENT_IS_CHROME_ONLY); > > That should be calling PseudoElementHasFlags, right? Did this compile? Yeah, had it fixed locally, thanks.
Assignee | ||
Comment 6•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=1510c6f79751
Assignee | ||
Comment 7•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/bb48b3653117 https://hg.mozilla.org/integration/mozilla-inbound/rev/f01c4abf8581
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bb48b3653117 https://hg.mozilla.org/mozilla-central/rev/f01c4abf8581
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•10 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•