Bug 1322939 Comment 33 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The minimum required to fix this would be:
* start pushing modal dialogs into the top layer (similarly to attachment 8826798 [details], but with the top layer instead of the pending dialog stack, needing bug 1580603 to be fixed first)
* introduce a :-moz-modal-dialog selector with the relevant UA styles (as attachment 8826799 [details] does, though code probably changed a lot now)
* fixing `UnsetFullscreenElement` to not remove the element from the top layer when the dialog is modal (using the event state from the previous part). Not sure what `SetFullscreenElement` should do in case the element is a modal dialog.


Some essential parts that could be done separately (since this is behind a pref anyway):
bug 1200896 and bug 921504.
The minimum required to fix this would be:
* start pushing modal dialogs into the top layer (similarly to attachment 8826798 [details], but with the top layer instead of the pending dialog stack, needing bug 1580603 to be fixed first)
* introduce a :-moz-modal-dialog selector with the relevant UA styles (as attachment 8826799 [details] does, though code probably changed a lot now)
* fixing `UnsetFullscreenElement` to not remove the element from the top layer when the dialog is modal (using the event state from the previous part). Not sure what `SetFullscreenElement` should do in case the element is a modal dialog.


Some essential parts that could be done separately (since this is behind a pref anyway):
bug 1200896 ~~and bug 921504~~ (edit: this one is not part of the dialog spec).
The minimum required to fix this would be:
* start pushing modal dialogs into the top layer (similarly to attachment 8826798 [details], but with the top layer instead of the pending dialog stack, needing bug 1580603 to be fixed first)
* introduce a :-moz-modal-dialog selector with the relevant UA styles (as attachment 8826799 [details] does, though code probably changed a lot now)
* fixing `UnsetFullscreenElement` to not remove the element from the top layer when the dialog is modal (using the event state from the previous part). Not sure what `SetFullscreenElement` should do in case the element is a modal dialog.


Some essential parts that could be done separately (since this is behind a pref anyway):
bug 1200896 ~~and bug 921504~~ (edit: the last one is not part of the dialog spec).

Back to Bug 1322939 Comment 33