Closed Bug 1059785 Opened 10 years ago Closed 10 years ago

Selected text is not highlighted when empty ::-moz-selection {} block is present

Categories

(Core :: CSS Parsing and Computation, defect)

31 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 234102
Tracking Status
firefox31 --- affected
firefox32 --- affected
firefox33 --- affected
firefox34 --- affected

People

(Reporter: kie000, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140716183446

Steps to reproduce:

Visit
http://www.ukoog.org.uk/knowledge-base/economics-and-benefits/what-affects-the-cost-of-shale-gas-and-what-will-the-costs-be-in-the-uk

Left-click, drag to select text.


Actual results:

Text is selected but not highlighted.


Expected results:

Text should be highlighted

dom.event.clipboardevents.enabled does not fix.

It is not a javascript problem.
IE doesn't have the same issue.

It is not a simple text color problem.

Clicking away from the page causes the highlight to appear, clicking back on the page causes the highlight to disappear (just the highlight, not the selection)
I can reproduce this. Removing the empty ::-moz-selection {} selector blocks in the two CSS files that include them (!?) seems to fix this, but a simple testcase doesn't seem to have the same problem...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file Testcase
Component: Untriaged → CSS Parsing and Computation
Keywords: testcase
OS: Windows 7 → All
Product: Firefox → Core
Hardware: x86_64 → All
Summary: Selected text is not highlighted → Selected text is not highlighted when empty ::-moz-regression{} block is present
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Summary: Selected text is not highlighted when empty ::-moz-regression{} block is present → Selected text is not highlighted when empty ::-moz-selection {} block is present
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: