Bug 99572 - REGRESSION(r131421): Text baseline becomes incorrect after re-layout of input[type=time]
Summary: REGRESSION(r131421): Text baseline becomes incorrect after re-layout of input...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P1 Normal
Assignee: Kent Tamura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-17 02:42 PDT by Kent Tamura
Modified: 2012-10-17 03:40 PDT (History)
7 users (show)

See Also:


Attachments
Screenshot (7.10 KB, image/png)
2012-10-17 02:44 PDT, Kent Tamura
no flags Details
Patch (4.74 KB, patch)
2012-10-17 02:56 PDT, Kent Tamura
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Tamura 2012-10-17 02:42:40 PDT
e.g.

<span style="font-size: 64px;">Foo</span>
<input type="time" id="time1">
<input type="time" id="time2">

1. Render this
2. Setting "23:59" to time1.value
3. The time1 field jumps up  (See attachment)
Comment 1 Kent Tamura 2012-10-17 02:44:21 PDT
Created attachment 169141 [details]
Screenshot
Comment 2 Kent Tamura 2012-10-17 02:56:35 PDT
Created attachment 169143 [details]
Patch
Comment 3 Kentaro Hara 2012-10-17 03:24:18 PDT
Comment on attachment 169143 [details]
Patch

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

Looks OK

> LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-static-relayout.html:12
> +container.remove();

Does this work?
Comment 4 Kent Tamura 2012-10-17 03:27:12 PDT
Comment on attachment 169143 [details]
Patch

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

>> LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-static-relayout.html:12
>> +container.remove();
> 
> Does this work?

Yes.  WebKit has Element::remove().
Comment 5 WebKit Review Bot 2012-10-17 03:40:14 PDT
Comment on attachment 169143 [details]
Patch

Clearing flags on attachment: 169143

Committed r131581: <http://trac.webkit.org/changeset/131581>
Comment 6 WebKit Review Bot 2012-10-17 03:40:18 PDT
All reviewed patches have been landed.  Closing bug.