Closed Bug 1295852 Opened 9 years ago Closed 9 years ago

elements named _moz_generated_content_before/after should not be considered generated content containers

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: heycam, Assigned: heycam)

References

Details

Attachments

(5 files)

There are a few places where we compare the name atom of an element against nsGkAtoms::mozgeneratedcontentbefore/after. We really should also be checking IsInNativeAnonymousSubtree(), since regular content can use the _moz_generated_content_before/after names too.
Assignee: nobody → cam
Status: NEW → ASSIGNED
Comment on attachment 8782254 [details] Bug 1295852 - Part 2: Check for generated content containers correctly in Element.getAnimations(). https://reviewboard.mozilla.org/r/72450/#review70050
Attachment #8782254 - Flags: review?(boris.chiou) → review+
Comment on attachment 8782257 [details] Bug 1295852 - Part 5: Check for generated content containers more precisely in nsTransitionManager assertion. https://reviewboard.mozilla.org/r/72456/#review70052
Attachment #8782257 - Flags: review?(boris.chiou) → review+
Comment on attachment 8782255 [details] Bug 1295852 - Part 3: Check for generated content containers correctly when generating DOM ranges from a11y selections. https://reviewboard.mozilla.org/r/72452/#review70066 I don't know why you request to review me this patch, though, it looks good to me.
Attachment #8782255 - Flags: review?(masayuki) → review+
(In reply to Masayuki Nakano [:masayuki] (Mozilla Japan) from comment #10) > I don't know why you request to review me this patch, though, it looks good > to me. Blame told me you wrote that code. Thanks for the review.
Comment on attachment 8782256 [details] Bug 1295852 - Part 4: Check for generated content containers more precisely when reflowing grid containers. https://reviewboard.mozilla.org/r/72454/#review70264 Why move the IsPrevContinuationOf inside the MOZ_[UN]LIKELY? If no reason other than indentation, then I prefer the current way since it has higher fidelity about which part is [un]likely. r=mats
Attachment #8782256 - Flags: review?(mats) → review+
Comment on attachment 8782253 [details] Bug 1295852 - Part 1: Add nsINode methods for testing whether a node is a ::before/::after generated content container. https://reviewboard.mozilla.org/r/72448/#review70318
Attachment #8782253 - Flags: review?(bobbyholley) → review+
(In reply to Mats Palmgren (:mats) from comment #12) > Why move the IsPrevContinuationOf inside the MOZ_[UN]LIKELY? > If no reason other than indentation, then I prefer the current way > since it has higher fidelity about which part is [un]likely. That's a mistake! I'll it back out of there.
Comment on attachment 8782256 [details] Bug 1295852 - Part 4: Check for generated content containers more precisely when reflowing grid containers. https://reviewboard.mozilla.org/r/72454/#review70520 (Turning Mats' r=me / Bugzilla r+ into a mozreview r+.)
Attachment #8782256 - Flags: review+
Pushed by cmccormack@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/14d293a0db97 Part 1: Add nsINode methods for testing whether a node is a ::before/::after generated content container. r=bholley https://hg.mozilla.org/integration/autoland/rev/acee0d460e39 Part 2: Check for generated content containers correctly in Element.getAnimations(). r=boris https://hg.mozilla.org/integration/autoland/rev/25e6c15f9431 Part 3: Check for generated content containers correctly when generating DOM ranges from a11y selections. r=masayuki https://hg.mozilla.org/integration/autoland/rev/a62d860735be Part 4: Check for generated content containers more precisely when reflowing grid containers. r=me https://hg.mozilla.org/integration/autoland/rev/b70e0aba06af Part 5: Check for generated content containers more precisely in nsTransitionManager assertion. r=boris
Comment on attachment 8782256 [details] Bug 1295852 - Part 4: Check for generated content containers more precisely when reflowing grid containers. https://reviewboard.mozilla.org/r/72454/#review70702
Attachment #8782256 - Flags: review?(mats) → review+
(In reply to Cameron McCormack (:heycam) from comment #15) > (Turning Mats' r=me / Bugzilla r+ into a mozreview r+.) Sorry about that; it appears that if you set the pref dom.storage.enabled to false like I do, then the "Review state" combobox is absent in the new ReviewBoard UI. (filed bug 1296662)
Depends on: 1306941
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: