Bug 174395 - REGRESSION(r219332): [GTK] 9 new failures on fast/forms spinbutton related tests
Summary: REGRESSION(r219332): [GTK] 9 new failures on fast/forms spinbutton related tests
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Alberto Lopez Perez
URL:
Keywords:
Depends on:
Blocks: 173572
  Show dependency treegraph
 
Reported: 2017-07-11 15:21 PDT by Carlos Alberto Lopez Perez
Modified: 2017-07-13 02:39 PDT (History)
6 users (show)

See Also:


Attachments
Patch (82.58 KB, patch)
2017-07-12 08:40 PDT, Carlos Alberto Lopez Perez
cgarcia: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Alberto Lopez Perez 2017-07-11 15:21:02 PDT
I missed this failures on my last iteration of the patch that landed in r219332 <https://trac.webkit.org/r219332>

Regressions: Unexpected text-only failures (9)
  fast/events/touch/touch-before-pressing-spin-button.html [ Failure ]
  fast/forms/input-number-click.html [ Failure ]
  fast/forms/input-step-as-double.html [ Failure ]
  fast/forms/number/number-large-padding.html [ Failure ]
  fast/forms/number/number-spinbutton-capturing.html [ Failure ]
  fast/forms/number/number-spinbutton-change-and-input-events.html [ Failure ]
  fast/forms/number/number-spinbutton-gets-disabled-or-readonly.html [ Failure ]
  fast/forms/number/number-spinbutton-in-multi-column.html [ Failure ]
  fast/forms/number/number-spinbutton-state.html [ Failure ]
Comment 1 Carlos Alberto Lopez Perez 2017-07-11 15:33:20 PDT
Committed r219368: <http://trac.webkit.org/changeset/219368>
Comment 2 Carlos Alberto Lopez Perez 2017-07-12 08:40:45 PDT
Created attachment 315243 [details]
Patch
Comment 3 Carlos Garcia Campos 2017-07-12 22:55:17 PDT
Comment on attachment 315243 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=315243&action=review

> Source/WebCore/ChangeLog:15
> +        Before r219332 the height of the spin button was calculated as
> +        the maximum value between the arrow width (33 pixels) and the
> +        arrow height (16 pixels).
> +        r219332 caused the height to be calculated as the arrow height,
> +        which was incorrect as the arrow should be first expanded
> +        vertically to fit the preferred size of the spinbutton widget.

There are no arrows in spin buttons, I guess you mean just the spin button itself here.
Comment 4 Carlos Alberto Lopez Perez 2017-07-13 02:26:28 PDT
(In reply to Carlos Garcia Campos from comment #3)
> Comment on attachment 315243 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=315243&action=review
> 
> > Source/WebCore/ChangeLog:15
> > +        Before r219332 the height of the spin button was calculated as
> > +        the maximum value between the arrow width (33 pixels) and the
> > +        arrow height (16 pixels).
> > +        r219332 caused the height to be calculated as the arrow height,
> > +        which was incorrect as the arrow should be first expanded
> > +        vertically to fit the preferred size of the spinbutton widget.
> 
> There are no arrows in spin buttons, I guess you mean just the spin button
> itself here.

Yes, with arrows I meant each one of the individual buttons (the [+] and the [-]).
Comment 5 Carlos Alberto Lopez Perez 2017-07-13 02:39:00 PDT
Committed r219447: <http://trac.webkit.org/changeset/219447>