Bug 34071 - Windows ports incorrectly render buttons that have a percentage height
: Windows ports incorrectly render buttons that have a percentage height
Status: NEW
Product: WebKit
Classification: Unclassified
Component: CSS
: 528+ (Nightly build)
: PC Windows XP
: P2 Normal
Assigned To: Nobody
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-24 23:50 PST by Daniel Bates
Modified: 2012-08-03 09:43 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 Daniel Bates 2010-01-24 23:50:03 PST
Following from <https://bugs.webkit.org/show_bug.cgi?id=29564#c20>:

Both the Apple and Chromium Windows ports render the height of a button incorrectly if it is specified as a percentage and the button is within an ambient container whose height is unspecified (i.e. auto).

In particular, both the Apple and Chromium Windows ports fail the test
<http://trac.webkit.org/export/53675/trunk/LayoutTests/fast/replaced/table-percent-height.html>
(when run by hand) with respect to percentage button heights.

Note, the reason that the test does not fail under Apple Windows DRT is because Apple Windows DRT uses the Mac theme for controls instead of the native Windows theme, see bug #25592.
Comment 1 Allan Sandfeld Jensen 2012-08-03 05:21:17 PDT
I don't think this is incorrect. The test-case assumes mac-specific behaviour, and should probably be split into a generic and mac-only part.
Comment 2 Allan Sandfeld Jensen 2012-08-03 05:22:56 PDT
Note: qt, chromium (non-mac), win and gtk all fails these 3 specific sub-tests of fast/replaced/table-percent-height.html