Closed Bug 201286 Opened 22 years ago Closed 18 years ago

Magic pseudo-classes should not be accessible from author sheets

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 331883

People

(Reporter: bzbarsky, Assigned: dbaron)

Details

Load the following HTML in Mozilla. Then leave the page. Watch us crash. <style> *|*:-moz-scrolled-content { position: fixed } </style> <div style="overflow:scroll"></div> The actual crash is in the viewmanager: #0 0x4212c65d in ?? () #1 0x4121214a in nsViewManager::UpdateWidgetArea (this=0x876a508, aWidgetView=0x4212b0c0, aDamagedRect=@0xbfffea1c, aIgnoreWidgetView=0x0) at /home/bzbarsky/mozilla/xlib/mozilla/view/src/nsViewManager.cpp:1675 #2 0x412121a8 in nsViewManager::UpdateWidgetArea (this=0x876a508, aWidgetView=0x86b3888, aDamagedRect=@0xbfffea9c, aIgnoreWidgetView=0x0) at /home/bzbarsky/mozilla/xlib/mozilla/view/src/nsViewManager.cpp:1685 But maybe we should just make sure that these magic pseudos can't be set by author style?
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.