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)
Core
DOM: Selection
Tracking
()
People
(Reporter: gduan, Assigned: MatsPalmgren_bugz)
References
Details
(Keywords: testcase)
Attachments
(2 files)
921 bytes,
text/html
|
Details | |
9.59 KB,
patch
|
roc
:
review+
lmandel
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
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/ .
Reporter | ||
Updated•10 years ago
|
Blocks: CopyPasteLegacy
Comment 1•10 years ago
|
||
attaching the testcase for posterity (but having it online is easier for B2G)
Comment 2•10 years ago
|
||
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 | ||
Updated•10 years ago
|
Assignee | ||
Comment 3•10 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=21c4541490ae
Other tests passed in an earlier run:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6278fb4d20ff
Attachment #8561036 -
Flags: review?(roc)
Attachment #8561036 -
Flags: review?(roc) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Flags: in-testsuite+
Comment 5•10 years ago
|
||
Please don't forget to ask an approval for Firefox OS v2.2. Thanks !
Assignee | ||
Comment 6•10 years ago
|
||
(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?
Comment 7•10 years ago
|
||
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.
Assignee | ||
Comment 8•10 years ago
|
||
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?
Comment 9•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Comment 10•10 years ago
|
||
Hey Bhavana, do you know who gives aurora approvals ?
Flags: needinfo?(bbajaj)
Comment 11•10 years ago
|
||
ni to howie. this is blocking copy-and-paste?
Could you please triage this?
Flags: needinfo?(hochang)
Comment 12•10 years ago
|
||
This one should be blocking. Thanks everyone for the help.
blocking-b2g: 2.2? → 2.2+
Flags: needinfo?(hochang)
Comment 13•10 years ago
|
||
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+
Updated•10 years ago
|
Flags: needinfo?(bbajaj)
Comment 14•10 years ago
|
||
status-firefox37:
--- → fixed
Comment 15•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•