Closed Bug 1129356 Opened 10 years ago Closed 10 years ago

Absolute child element should not be selectable if parent has -moz-user-select: none

Categories

(Core :: DOM: Selection, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla38
blocking-b2g 2.2+
Tracking Status
firefox36 --- wontfix
firefox37 --- fixed
firefox38 --- fixed
b2g-v2.2 --- fixed
b2g-master --- fixed

People

(Reporter: gduan, Assigned: MatsPalmgren_bugz)

References

Details

(Keywords: testcase)

Attachments

(2 files)

Follow-up bug of https://bugzilla.mozilla.org/show_bug.cgi?id=1127587#c7 Elements with absolute position should not be selectable if parent has -moz-user-select:none attribute. See https://everlong.org/mozilla/testcase-user-select/ .
attaching the testcase for posterity (but having it online is easier for B2G)
Blocks: 1127954
Asking to block for 2.2 because otherwise we'll need workaround in all apps (not to mention the content we don't control).
blocking-b2g: --- → 2.2?
Assignee: nobody → mats
Keywords: testcase
OS: Mac OS X → All
Hardware: x86 → All
Please don't forget to ask an approval for Firefox OS v2.2. Thanks !
(In reply to Julien Wajsberg [:julienw] from comment #5) > Please don't forget to ask an approval for Firefox OS v2.2. Thanks ! One of the b2g* flags I presume - but which flag is it exactly?
Yeah, it's b2g37. These days Aurora will also get merged there, so if you think this is worth uplifting to aurora, this is also a possibility.
Comment on attachment 8561036 [details] [diff] [review] Traverse the placeholder's parent for abs.pos. frames when determining the used value for 'user-select'. Approval Request Comment [Feature/regressing bug #]: - [User impact if declined]: some elements will be selectable/not selectable when not intended by the page author [Describe test coverage new/current, TreeHerder]: added a test, green on m-i [Risks and why]: zero risk, simple one-liner [String/UUID change made/needed]: none
Attachment #8561036 - Flags: approval-mozilla-aurora?
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Hey Bhavana, do you know who gives aurora approvals ?
Flags: needinfo?(bbajaj)
ni to howie. this is blocking copy-and-paste? Could you please triage this?
Flags: needinfo?(hochang)
This one should be blocking. Thanks everyone for the help.
blocking-b2g: 2.2? → 2.2+
Flags: needinfo?(hochang)
Comment on attachment 8561036 [details] [diff] [review] Traverse the placeholder's parent for abs.pos. frames when determining the used value for 'user-select'. One liner + a test. Aurora+
Attachment #8561036 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Flags: needinfo?(bbajaj)
Blocks: 648624
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: