This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20859 - [CSS4] "content: frame(width, height)" or "box-model: image(width, height)" proposal
Summary: [CSS4] "content: frame(width, height)" or "box-model: image(width, height)" p...
Status: RESOLVED INVALID
Alias: None
Product: HTML.next
Classification: Unclassified
Component: default (show other bugs)
Version: unspecified
Hardware: All All
: P2 major
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-03 07:38 UTC by Alexei03a
Modified: 2013-03-21 10:06 UTC (History)
3 users (show)

See Also:


Attachments

Description Alexei03a 2013-02-03 07:38:36 UTC
I propose to introduce a new property "content: frame(width, height)". What does this mean? This means that the element will be scaled like graphic element, the contents will be the same as that without the "content: frame(width, height)". It is very necessary CSS3 property.
- Graphics elements (<img>, <canvas>, <video>) just change natural size.
- Other elements have original size (like graphics elements), and scaling as graphical elements.
- Size of elements cannot changed by inner content (text).
Also i have alternative idea for new CSS property - "box-model: image(width, height)" and "box-model: auto", instead of "content". I came up with this idea for a reason, and in order to bring the behavior of graphic and conventional together.
Comment 1 Alexei03a 2013-02-03 07:39:35 UTC
I will be very happy if you perceive my offer.
Comment 2 Robin Berjon 2013-03-21 10:06:30 UTC
Sorry, but this is the bug tracker for HTML. Your feature proposal is clearly intended for CSS. I suggest discussing it on the www-style mailing list.