Closed Bug 1023 Opened 26 years ago Closed 26 years ago

Modifying textDecoration via CSS OM doesn't force reflow

Categories

(Core :: DOM: Core & HTML, defect, P2)

x86
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: angus, Assigned: vidur)

Details

I'm modifying the textDecoration style property on an element, but it doesn't appear. I find that by forcing a reflow, the right thing appears. Thus, I assume we need to wire something up to make this work like it should. Here's the test case: <html> <body> <a href="foo" onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'">Foo</a> </body> </html> As you pass your mouse over the element, the underline should appear (it's on by default). If you pass your mouse out of the element, the underline should go away.
Assignee: kipp → vidur
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
Worked for me on 10/8.
Status: RESOLVED → VERIFIED
verified worksforme
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.