-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
css resize in fullscreen mode #171
Comments
Can you describe the motivation a bit better? From that bug it sounds like this might allow for some simplification of layout/paint code? cc @emilio |
Also, this would only apply to the element being shown fullscreen? Other elements can still be resized? |
The spec doesn't define the behavior for the resizer which should be displayed or not when the resizable element is in fullscreen mode. So a clearer definition may be needed here. My original idea was to modify directly in layout and paint code, which will be unnecessary if
Yes, only the element being shown fullscreen. |
I guess the underlying question is whether a resize widget should be shown for an element that has a fixed (in the user agent |
It doesn't really simplify anything. Iff we wanted to fix this and UA stylesheets were not an option then we'd complicate layout a bit, which would be a bit unfortunate for this odd edge case :) |
https://drafts.csswg.org/css-ui-3/#resize
So what if !important is used there? It seems user agents ignore it anyway... But it's also not entirely clear to me from that sentence if that is correct or incorrect. However, it does go on to suggest:
So I think that ought to be clarified first. If indeed the fullscreen element happens to be the exception and it's easier to rectify that with |
There are only two resizable situations which have a fixed size I can think of:
I'm not sure if there are any other situations. |
The following test case has the same behavior In Chrome and Firefox, the resizable DOM element shows a resizer in fullscreen mode, but it can't be resized.
Here are some discussions in Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1642598.
Does
resize: none !important
need to be considered in the "User-agent level style sheet defaults"?The text was updated successfully, but these errors were encountered: