W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2017

[csswg-drafts] [css-boxmodel] Totally missing one logical element.

From: Array23 via GitHub <sysbot+gh@w3.org>
Date: Sun, 15 Oct 2017 21:23:42 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-265605460-1508102607-sysbot+gh@w3.org>
Array23 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-boxmodel] Totally missing one logical element. ==
Hello, I want to say, that you all did great job, on what web is today...
But I'm missing one thing as coder of webdesigns, that thing is simple css...

**Inner Border**
It's `inner-border`attribute, as it states, that would be border, between padding and total size of box.
I want way to borders to not stack up in total size of element, because then I need to use `calc()` on basically everything.

I'm already working on polyfill, that takes whole css, and where i have `--inner-border` it wraps it to have height defined as `calc(height -border);`

`
#formbox {
  width: calc(100% / 6);
  border: 1px solid black;
  padding: 4px;
}
`

This is what I've found on Mozilla, if I put 6 pieces of something like this, there would be overflow, because of 1px border...

But that won't make it part of something, official, I think two borders are no big issue, to be solved out... 
Keep the original border doing what it is doing, and add inner border between padding and size on box model.

Sorry if this is not an 'issue' for you, but It makes coding of certain designs much more simple.

What's non-member patent licencing commitment? Can you explain? If you have no soul just steal this and implement it, otherwise explain to me how to fill for 'patent'. I'm struggling with issues about intellectual property.



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1873 using your GitHub account
Received on Sunday, 15 October 2017 21:23:31 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:19 UTC