RESOLVED CONFIGURATION CHANGED 162905
Details layout ends up incorrect when ::before dynamically removed
https://bugs.webkit.org/show_bug.cgi?id=162905
Summary Details layout ends up incorrect when ::before dynamically removed
Boris Zbarsky
Reported 2016-10-04 08:35:08 PDT
Created attachment 290603 [details] Testcase STEPS TO REPRODUCE: 1) Load attached testcase. 2) Click the text that says "Please click this text." EXPECTED RESULTS: The text "Before text" disappears and nothing else happens. ACTUAL RESULTS: The text "Before text" disappears, and the text "Please click this text" moves to above the "Summary" text.
Attachments
Testcase (208 bytes, text/html)
2016-10-04 08:35 PDT, Boris Zbarsky
no flags
Ahmad Saleem
Comment 1 2022-08-08 17:16:27 PDT
I am getting following behavior across browsers: *** Safari 15.6 on macOS 12.5 *** << RENDERING ORDER >> <--- different across browsers Before text <summary> Please click this text Upon click 'last' line then first line disappears and it becomes like this <summary> Please click this text *** Chrome Canary 106 *** << RENDERING ORDER>> <--- different but matches with Safari Before text <summary> Please click this text Upon click 'last' line then first line disappears and it becomes like this <summary> Please click this text *** Firefox Nightly 105 *** << RENDERING ORDER>> <--- different but matches with Safari <summary> Before text Please click this text Upon clicking "Please click this text", it becomes like this: <summary> Please click this text. _______ I am not sure, which browser is rendering this correctly but wanted to update test results. Thanks!
Radar WebKit Bug Importer
Comment 2 2022-08-10 11:05:22 PDT
Ahmad Saleem
Comment 3 2022-10-13 07:25:57 PDT
Unable to reproduce and all browsers (Safari 16, STP 155, Chrome Canary 108 and Firefox Nightly 107) are doing same. Marking this as "RESOLVED CONFIGURATION CHANGED".
Note You need to log in before you can comment on or make changes to this bug.