Closed
Bug 188972
Opened 22 years ago
Closed 8 years ago
-moz-use-text-color is sometimes serialized for the border shorthand
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 376075
People
(Reporter: vladimire, Assigned: glazou)
Details
Attachments
(2 files, 1 obsolete file)
526 bytes,
text/html
|
Details | |
3.82 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
If I set border property on one div to dotted, and set border-top property on another div to dotted. When I get the values of borderTop of both divs from javascript I get: test0.style.borderTop = medium dotted -moz-use-text-color test1.style.borderTop = medium dotted Which is inconsistent. There is no color for the second borderTop. I dont know what is correct, to show the color, or not to show the color, but the two cases should be consistent. Probably the right behaviour would be what IE does, just show "dotted" because other properties are default.
Reporter | ||
Comment 1•22 years ago
|
||
Comment 2•22 years ago
|
||
glazou, the shorthand stuff needs to drop that color value...
Comment 3•22 years ago
|
||
Reassigning to glazman, Daniel, hand this back if you don't want it.
Assignee: jst → glazman
Assignee | ||
Comment 4•22 years ago
|
||
Assignee | ||
Comment 5•22 years ago
|
||
Attachment #112752 -
Attachment is obsolete: true
Assignee | ||
Comment 6•22 years ago
|
||
Comment on attachment 112753 [details] [diff] [review] rogggnnnnntdddjjjuuuuu, fix #2 kin, can you r= please ? jst, can you sr= please ? (given that bz seems to drop reviews...)
Attachment #112753 -
Flags: superreview?(jst)
Attachment #112753 -
Flags: review?(kin)
Updated•22 years ago
|
Attachment #112753 -
Flags: superreview?(jst)
Attachment #112753 -
Flags: superreview+
Attachment #112753 -
Flags: review?(kin)
Attachment #112753 -
Flags: review+
Comment 7•21 years ago
|
||
Daniel, plans to land this patch? It looks like it may have bitrotted a bit, though....
Comment 8•21 years ago
|
||
This looks as if it would make the style string end in a space :-(
Comment 9•21 years ago
|
||
Hmm... that it could do, yes. We probably want to avoid that...
Updated•15 years ago
|
QA Contact: ian → general
QA Contact: general → style-system
Summary: Inconsistent value for a property → -moz-use-text-color is sometimes serialized for the border shorthand
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Fixed in patch 3 of bug 376075.
You need to log in
before you can comment on or make changes to this bug.
Description
•