Skip to main content

Search and Top Navigation

#9845 closed feature (worksforme)

Opened February 20, 2014 04:46PM UTC

Closed January 13, 2015 12:59PM UTC

Make use of box-sizing: border-box

Reported by: jzaefferer Owned by:
Priority: minor Milestone: 1.12.0
Component: [meta] ui.dev Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:
Description

IE7 was the last browser we supported that didn't support border-box. Once we've branched 1-11-stable, we can start making use of border-box. That should help simplify the _size method in dialog. There's likely more.

Attachments (0)
Change History (3)

Changed February 20, 2014 04:46PM UTC by jzaefferer comment:1

milestone: none1.12.0
status: newopen

Changed February 20, 2014 04:55PM UTC by Jörn Zaefferer comment:2

Dialog: Work around subpixel issues in dialog resizable test

Switching to checking the size of the content element. We should be

checking the dimensions of the .ui-dialog element, but that currently

fails in Chromium-based browsers. Once we start using box-sizing:

border-box, we should try to revert this change.

Ref #9845

Changeset: 122b91374338b926e3f86ad6d7154dd4b98ef270

Changed January 13, 2015 12:59PM UTC by jzaefferer comment:3

resolution: → worksforme
status: openclosed

I just reverted that dialog commit and tested in Chrome and Opera (20). Chrome works fine, Opera fails. Adding border-box to .ui-dialog makes it worse. I also don't see how border-box would help simplify dialog's _size method.

We don't need this ticket as a reminder to use box-sizing, so I'll just close this.