Selection is not painted after stylesheet change. REPEAT BY: 1. load http://www.mozilla.org/newlayout/xml/debugdemos/books/books.xml 2. click "Toggle Style" 3. Select all text (CTRL+A) 4. click "Toggle Style" 5. click "Toggle Style" ACTUAL RESULTS: Most of the text (book descriptions) rendered as if not selected. EXPECTED RESULTS: Rendering after 5. should be the same as after 3. (Everything selected) PLATFORM & BUILD: Nightly trunk build 2002-06-28-08 on Windows 98 SE. ADDITIONAL INFORMATION: Covering the window to force a repaint makes the selection appear again.
Testing Mozilla/5.0 (X11; Linux x86_64; rv:10.0a1) Gecko/20111025 Firefox/10.0a1 the selected text appears correct now, the images (book covers) becomes unselected in step 5. Focus/blur of the window repaints it. Bug 619273 fixes the remaining problem.