Closed
Bug 803015
Opened 12 years ago
Closed 12 years ago
[click to play] plugin placeholder text can be styled by page style
Categories
(Toolkit :: General, defect)
Toolkit
General
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: paul, Assigned: jaws)
Details
Attachments
(2 files, 1 obsolete file)
764 bytes,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
279 bytes,
text/html
|
Details |
(Found on reddit: http://www.reddit.com/r/firefox/comments/11n4lp/is_this_a_firefox_bug_or_intended/) When plugins.click_to_play is true, there is a message that is displayed that states "Click here to activate..". This message usually disregards all CSS declarations set on the element (e.g. color, font) except, for some weird reason, the text-transform property. Shouldn't the text-transform property value be overridden to none to keep the message uniform? It does not look appropriate when set to uppercase or lowercase - in fact, I actually thought it was a scam image when I first encountered it. Website: http://runpee.com Image: http://i.imgur.com/P5jdk.png Tested on and reproducible in (Windows 7) Firefox 16.0.1, 17.0 (Beta) and 18.0a2 (Aurora).
Assignee | ||
Updated•12 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Assignee | ||
Comment 1•12 years ago
|
||
Using the test page in comment #0, I tried also setting text-decoration:underline !important, color: red !important, and changing the font but didn't see those styles inheriting.
Comment 2•12 years ago
|
||
Comment on attachment 673728 [details] [diff] [review] Patch > .mainBox { > width: inherit; > height: inherit; > overflow: hidden; > direction: ltr; > unicode-bidi: embed; >+ /* used to block inherited properties */ >+ text-transform: none !important; Why would you need !important here?
Updated•12 years ago
|
Product: Firefox → Toolkit
Assignee | ||
Comment 3•12 years ago
|
||
Yeah, the important isn't needed. I forgot to test without it.
Attachment #673728 -
Attachment is obsolete: true
Attachment #673728 -
Flags: review?(dao)
Attachment #673730 -
Flags: review?(dao)
Updated•12 years ago
|
Attachment #673730 -
Flags: review?(dao) → review+
Assignee | ||
Comment 4•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ca0bbaaf0282
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ca0bbaaf0282 Possible to test this?
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Comment 6•12 years ago
|
||
Other CSS properties that are also inherited by the plugin placeholder. Need to be explicitly set to the default, as in the case of the text-transform property. I'd add to the patch myself, but I have no clue how this works.
Assignee | ||
Updated•12 years ago
|
Attachment #677441 -
Attachment mime type: text/plain → text/html
Assignee | ||
Comment 7•12 years ago
|
||
(In reply to suraj_patel_95 from comment #6) > Created attachment 677441 [details] > Testcase of more inherited CSS > > Other CSS properties that are also inherited by the plugin placeholder. Need > to be explicitly set to the default, as in the case of the text-transform > property. I'd add to the patch myself, but I have no clue how this works. Can you please file a new bug and attach the test case to the new bug? Thanks!
Comment 8•12 years ago
|
||
(In reply to Jared Wein [:jaws] from comment #7) > (In reply to suraj_patel_95 from comment #6) > > Created attachment 677441 [details] > > Testcase of more inherited CSS > > > > Other CSS properties that are also inherited by the plugin placeholder. Need > > to be explicitly set to the default, as in the case of the text-transform > > property. I'd add to the patch myself, but I have no clue how this works. > > Can you please file a new bug and attach the test case to the new bug? > Thanks! Done: https://bugzilla.mozilla.org/show_bug.cgi?id=807880
You need to log in
before you can comment on or make changes to this bug.
Description
•