Bug 173827 - css resize property should work on images regardless of overflow
Summary: css resize property should work on images regardless of overflow
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: FromImplementor, InRadar, WebExposed
Depends on:
Blocks:
 
Reported: 2017-06-25 19:03 PDT by Florian Rivoal
Modified: 2017-06-26 08:55 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Rivoal 2017-06-25 19:03:31 PDT
Quoting from the css-ui-3 specification (https://drafts.csswg.org/css-ui-3/#resize):

> UAs may also apply [the resize property], regardless of the value of the overflow property, to replaced elements representing images or videos, such as img, video, picture, svg, object, or canvas.

This does not work in Safari.

Tests from the css-ui-3 test suite:

img: https://test.csswg.org/harness/test/css-ui-3_dev/single/resize-008/format/html5/
svg: https://test.csswg.org/harness/test/css-ui-3_dev/single/resize-009/format/html5/
picture: https://test.csswg.org/harness/test/css-ui-3_dev/single/resize-010/format/html5/
object: https://test.csswg.org/harness/test/css-ui-3_dev/single/resize-011/format/html5/
canvas: https://test.csswg.org/harness/test/css-ui-3_dev/single/resize-013/format/html5/
video: https://test.csswg.org/harness/test/css-ui-3_dev/single/resize-014/format/html5/

(https://bugs.webkit.org/show_bug.cgi?id=79380 had previously been opened on a subset of this topic and been closed as WONTFIX, but the specification has changed since then)
Comment 1 Radar WebKit Bug Importer 2017-06-26 08:55:23 PDT
<rdar://problem/32981103>