source: trunk/Source/WebCore/ChangeLog @ 75352

Revision 75352, 791.9 KB checked in by simon.fraser@apple.com, 4 years ago (diff)

2011-01-08 Simon Fraser <simon.fraser@apple.com>

Reviewed by Alexey Proskuryakov.

HTMLStyleElement.disabled doesn't work (affects jQuery)
https://bugs.webkit.org/show_bug.cgi?id=25287

Fix the disabled property of a HTMLStyleElement to reflect,
and set the disabled state of its style sheet, as required
by DOM1 etc.

Based on initial patch by Tarun Nainani.

Test: fast/html/disable-style-element.html

  • dom/StyleElement.h: (WebCore::StyleElement::sheet): Make const.
  • html/HTMLStyleElement.h:
  • html/HTMLStyleElement.idl:
  • html/HTMLStyleElement.cpp: (WebCore::HTMLStyleElement::disabled): (WebCore::HTMLStyleElement::setDisabled): Getter and setter for disabled call through to the sheet (if any).
  • Property svn:eol-style set to native

HTML preview not available, since the file size exceeds 262144 bytes. Try downloading the file instead.

Note: See TracBrowser for help on using the repository browser.