- 01 Jun, 2014 12 commits
-
-
robhogan@gmail.com authored
When a block element becomes a float or out of flow we should strip any anonymous blocks wrapping its inline siblings. BUG=331251 Review URL: https://codereview.chromium.org/253313005 git-svn-id: svn://svn.chromium.org/blink/trunk@175220 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dominicc@chromium.org authored
This does not change behavior because Chrome's service worker dispatcher always mints new WebServiceWorker instances, and WebServiceWorker::proxy returns null. BUG=361907 Review URL: https://codereview.chromium.org/306133002 git-svn-id: svn://svn.chromium.org/blink/trunk@175219 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
robhogan@gmail.com authored
CSS 2.1 (http://www.w3.org/TR/CSS2/visudet.html#leading) says: "Empty inline elements generate empty inline boxes, but these boxes still have margins, padding, borders and a line height, and thus influence [line-height calculation] just like elements with content." We weren't creating lineboxes for empty inline elements when they occurred between a single trailing space and a single leading space - this is because our linebox creation was based on the too-narrow premise that we were already ignoring spaces. However, if an empty inline element comes after a trailing space but before one or more leading spaces then it will be ignored as part of the collapsed space between the trailing space and the next non-collapsible space - so we should force the creation of a linebox in such cases. This allows us to pass Hixie's empty inline test: http://www.hixie.ch/tests/evil/mixed/emptyinline.html BUG=328939 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175205 Review URL: https://codereview.chromium.org/300853007 git-svn-id: svn://svn.chromium.org/blink/trunk@175218 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
brettw@chromium.org authored
This warning is disabled in the GYP build but was missed. Review URL: https://codereview.chromium.org/305303002 git-svn-id: svn://svn.chromium.org/blink/trunk@175217 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ch.dumez@samsung.com authored
Un-inline KURL's default constructor to avoid bloating. KURL has non-POD data members and its constructor is thus non-trivial. This reduces the release binary size by ~17Kb. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/307193002 git-svn-id: svn://svn.chromium.org/blink/trunk@175216 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ch.dumez@samsung.com authored
Un-inline Node's constructor to avoid bloating. Node's constructor is not trivial and Node is used in inheritance. This reduces the release binary size by ~4Kb. I did not see any impact on the Dromaeo score: http://dromaeo.com/?id=222265,222267 R=eseidel@chromium.org Review URL: https://codereview.chromium.org/309613006 git-svn-id: svn://svn.chromium.org/blink/trunk@175215 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dglazkov@chromium.org authored
Since it owns the HTMLImportTreeRoot, it can just ask it for the master document. Additionally, remove indirection plumbing that's just straightforward queries of master document. No changes in behavior, refactoring. R=morrita BUG= Review URL: https://codereview.chromium.org/305743003 git-svn-id: svn://svn.chromium.org/blink/trunk@175214 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ch.dumez@samsung.com authored
Un-inline Element's constructor to avoid bloating, as advised by Chromium coding style: http://www.chromium.org/developers/coding-style/cpp-dos-and-donts#TOC-Stop-inlining-constructors-and-destructors. The Element class is used in inheritence and has non-POD data members. The Element constructor is thus non-trivial. This reduces release binary size by ~12Kb. I saw no impact on the Dromaeo score: http://dromaeo.com/?id=222265,222266 R=eseidel@chromium.org Review URL: https://codereview.chromium.org/309593004 git-svn-id: svn://svn.chromium.org/blink/trunk@175213 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rob.buis@samsung.com authored
needed anymore after https://codereview.chromium.org/268223003 BUG=313438 Review URL: https://codereview.chromium.org/309553009 git-svn-id: svn://svn.chromium.org/blink/trunk@175212 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rob.buis@samsung.com authored
It seems a lot of code moved out of this class, so remove various includes and forward references. Review URL: https://codereview.chromium.org/302093006 git-svn-id: svn://svn.chromium.org/blink/trunk@175211 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eae@chromium.org authored
Windows XP specific rebaselines for r175038 as the XP > Win7 fallback is no longer valid for text tests. TBR=dglazkov@chromium.org Review URL: https://codereview.chromium.org/301193007 git-svn-id: svn://svn.chromium.org/blink/trunk@175210 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eae@chromium.org authored
Windows XP specific rebaselines for r175038 as the XP > Win7 fallback is no longer valid for text tests. TBR=dglazkov@chromium.org Review URL: https://codereview.chromium.org/308123005 git-svn-id: svn://svn.chromium.org/blink/trunk@175209 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 31 May, 2014 28 commits
-
-
eae@chromium.org authored
TBR=pdr@chromium.org Review URL: https://codereview.chromium.org/306083006 git-svn-id: svn://svn.chromium.org/blink/trunk@175208 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
https://codereview.chromium.org/300853007/robhogan@gmail.com authored
Reason for revert: This changed the subpixel positioning of glyphs on lines with first-letter renderers on Mac builds. See https://storage.googleapis.com/chromium-layout-test-archives/WebKit_Mac10_6/28423/layout-test-results/results.html as an example. I think the new results are benign - but would like to confirm with leviw and reland as NeedsRebaseline if we're both happy with them. Original issue's description: > Empty inline elements always get a line box. > > CSS 2.1 (http://www.w3.org/TR/CSS2/visudet.html#leading) says: "Empty inline > elements generate empty inline boxes, but these boxes still have margins, padding, > borders and a line height, and thus influence [line-height calculation] just > like elements with content." > > We weren't creating lineboxes for empty inline elements when they occurred > between a single trailing space and a single leading space - this is because > our linebox creation was based on the too-narrow premise that we were already > ignoring spaces. However, if an empty inline element comes after a trailing > space but before one or more leading spaces then it will be ignored as part > of the collapsed space between the trailing space and the next non-collapsible > space - so we should force the creation of a linebox in such cases. > > This allows us to pass Hixie's empty inline test: > http://www.hixie.ch/tests/evil/mixed/emptyinline.html > > BUG=328939 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175205 TBR=leviw@chromium.org NOTREECHECKS=true NOTRY=true BUG=328939 Review URL: https://codereview.chromium.org/302233002 git-svn-id: svn://svn.chromium.org/blink/trunk@175207 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abarth@chromium.org authored
This CL also moves CompositingReasonOverflowScrollingTouch inside hasOverflowScrollTrigger because needsCompositedScrolling cannot return true if we don't have the overflow scroll trigger. Review URL: https://codereview.chromium.org/309593003 git-svn-id: svn://svn.chromium.org/blink/trunk@175206 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
robhogan@gmail.com authored
CSS 2.1 (http://www.w3.org/TR/CSS2/visudet.html#leading) says: "Empty inline elements generate empty inline boxes, but these boxes still have margins, padding, borders and a line height, and thus influence [line-height calculation] just like elements with content." We weren't creating lineboxes for empty inline elements when they occurred between a single trailing space and a single leading space - this is because our linebox creation was based on the too-narrow premise that we were already ignoring spaces. However, if an empty inline element comes after a trailing space but before one or more leading spaces then it will be ignored as part of the collapsed space between the trailing space and the next non-collapsible space - so we should force the creation of a linebox in such cases. This allows us to pass Hixie's empty inline test: http://www.hixie.ch/tests/evil/mixed/emptyinline.html BUG=328939 Review URL: https://codereview.chromium.org/300853007 git-svn-id: svn://svn.chromium.org/blink/trunk@175205 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abarth@chromium.org authored
No one reads this state. Review URL: https://codereview.chromium.org/310543002 git-svn-id: svn://svn.chromium.org/blink/trunk@175204 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dominik.rottsches@intel.com authored
Synchronise releasing / default activating this feature with the other platforms. BUG=378195 R=eae,dglazkov,eseidel Review URL: https://codereview.chromium.org/304723002 git-svn-id: svn://svn.chromium.org/blink/trunk@175203 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
Intent to Deprecate and Remove: https://groups.google.com/a/chromium.org/d/msg/blink-dev/Tu9pL7gMPyo/f-eYf_AkpQMJ The conclusion of the thread was to deprecate only at this time. Review URL: https://codereview.chromium.org/301403002 git-svn-id: svn://svn.chromium.org/blink/trunk@175202 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
This CL reduces the number of required Heap::collectGarbage calls in Heap::collectAllGarbage on Worker termination. - Make Event::m_target Member<>. - Make MessageEvent::m_source Member<>. MessageEvent is used to communicate between the main thread and workers. For consistency, this CL adjusts MessagePort argument/return types. They reduce RefPtr to WorkerGlobalScope, which implements EventTarget. BUG=375671 Review URL: https://codereview.chromium.org/304353004 git-svn-id: svn://svn.chromium.org/blink/trunk@175201 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jkarlin@chromium.org authored
Adds Netinfo v3 to Blink. The layout changes outside of netinfo/ are regolding. Design doc: https://docs.google.com/a/chromium.org/document/d/1LTk9uVMGi4kurzcF5ellsAJReTF31fFJMHrQwSVtBjc/ BUG=368358 Review URL: https://codereview.chromium.org/291203002 git-svn-id: svn://svn.chromium.org/blink/trunk@175200 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rune@opera.com authored
The RestyleFlags are set based on selectors and DOM structure. Wether the elements are attached or detached is irrelevant. Furthermore, when these flags are reset, we must be sure all elements which may contribute to these flags will have their style recalculated in order to set the flags properly. That is not necessarily the case for attach/detach since siblings, or descendants of siblings of the detached element will not have their style recalculated in general. Instead, reset RestyleFlags when an element is removed from its parent. If the element is re-inserted into the DOM, siblings and sibling subtrees will have the style recalculated to update the flags properly. R=esprehn@chromium.org BUG=376139 Review URL: https://codereview.chromium.org/304183009 git-svn-id: svn://svn.chromium.org/blink/trunk@175199 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mikhail.pozdnyakov@intel.com authored
StringImpl::replace(UChar, UChar) is mentioned as one of the hot spots by the Intel VTune Amplifier profile when running the 'textarea-dom.html' performance test. StringImpl::replace(UChar, UChar) is optimized (and simplified) by using 'StringImpl::find' method instead of manual traversing the internal buffer and checking 'is8Bit' property value on each iteration. This changes gives approx 2.25% improvement of the average 'textarea-dom.html' performance test results (linux desktop x64, GCC 4.6.3, release content_shell build with enabled 'linux_dump_symbols' flag). Review URL: https://codereview.chromium.org/304273003 git-svn-id: svn://svn.chromium.org/blink/trunk@175198 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
https://codereview.chromium.org/305643006/yoav@yoav.ws authored
Reason for revert: This patch closed the tree with a '"update" on "Win7 Tests"' message. Reverting Original issue's description: > Enable a srcset 0x descriptor > > According to recent spec changes, a "0x" descriptor should be correctly parsed, > and imply intrinsic dimensions of infinity to the image. > This CL enables that, and tests that intrinsic dimensions are impacted accordingly. > > BUG=378252 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175196 TBR=eseidel@chromium.org,pdr@chromium.org NOTREECHECKS=true NOTRY=true BUG=378252 Review URL: https://codereview.chromium.org/302083009 git-svn-id: svn://svn.chromium.org/blink/trunk@175197 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yoav@yoav.ws authored
According to recent spec changes, a "0x" descriptor should be correctly parsed, and imply intrinsic dimensions of infinity to the image. This CL enables that, and tests that intrinsic dimensions are impacted accordingly. BUG=378252 Review URL: https://codereview.chromium.org/305643006 git-svn-id: svn://svn.chromium.org/blink/trunk@175196 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dgozman@chromium.org authored
BUG=327641 Review URL: https://codereview.chromium.org/306123005 git-svn-id: svn://svn.chromium.org/blink/trunk@175195 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=175189 BUG=370664 TBR=chrishtr@chromium.org Review URL: https://codereview.chromium.org/304283009 git-svn-id: svn://svn.chromium.org/blink/trunk@175194 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eae@chromium.org authored
Allow sub-css-pixel font-sizes and thus smooth font scaling which in turn allows for stable layout when zooming and drastically improves readability and font rendering quality on high dpi devices. This change enabled the experimental subpixel font scaling flag by default across all supported platforms. Entry in Chromium Dashboard http://www.chromestatus.com/features/6259163214643200 OWP launch tracking bug https://code.google.com/p/chromium/issues/detail?id=164167 Intent to ship https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/4-f2i7OEWeg R=eseidel@chromium.org, dglazkov@chromium.org BUG=164167 Review URL: https://codereview.chromium.org/307993009 git-svn-id: svn://svn.chromium.org/blink/trunk@175192 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
This is by far the slowest part of doing rebaselines. We can do everything but the SCM commands in parallel. Like we do for the other commands, save off the SCM commands and do them all at the end. Review URL: https://codereview.chromium.org/308793004 git-svn-id: svn://svn.chromium.org/blink/trunk@175191 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eae@chromium.org authored
Windows XP specific rebaselines for r175038 as the XP > Win7 fallback is no longer valid for text tests. TBR=dglazkov@chromium.org Review URL: https://codereview.chromium.org/309503009 git-svn-id: svn://svn.chromium.org/blink/trunk@175190 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
chrishtr@chromium.org authored
This fixes a mistake in crrev.com/301843002 Includes a test. BUG=370664 Review URL: https://codereview.chromium.org/306093002 git-svn-id: svn://svn.chromium.org/blink/trunk@175189 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=175124 BUG=372502 TBR=h.joshi@samsung.com Review URL: https://codereview.chromium.org/302223002 git-svn-id: svn://svn.chromium.org/blink/trunk@175188 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=174989 BUG=376306 TBR=wangxianzhu@chromium.org Review URL: https://codereview.chromium.org/307163002 git-svn-id: svn://svn.chromium.org/blink/trunk@175187 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=175010 BUG=314704 TBR=dtrebbien@gmail.com Review URL: https://codereview.chromium.org/304413003 git-svn-id: svn://svn.chromium.org/blink/trunk@175186 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=174988 BUG=369358 TBR=wangxianzhu@chromium.org Review URL: https://codereview.chromium.org/306223002 git-svn-id: svn://svn.chromium.org/blink/trunk@175185 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=175147 BUG=377610 TBR=fs@opera.com Review URL: https://codereview.chromium.org/309553006 git-svn-id: svn://svn.chromium.org/blink/trunk@175184 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wangxianzhu@chromium.org authored
Previously we use localToContainerPoint((0,0)) to calculate the offset of a child when drawing focus rings. If the child is rotated, (0, 0) won't be its top-left corner in container‘s coordinations. Now use localToContainerQuad(childLocalFocusRingRect).enclosingBoundingBox(). Also updated RenderObject::absoluteFocusRingQuads() to be transform-aware. BUG=374168 TEST=transforms/transform-focus-ring.html Review URL: https://codereview.chromium.org/288013005 git-svn-id: svn://svn.chromium.org/blink/trunk@175183 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wangxianzhu@chromium.org authored
Based on dsinclair@'s original patch https://codereview.chromium.org/174073002/ For the new world of text based repaint tests it can be hard to visualize how the repaint rects appear on the screen. This is a first pass at visualizing the difference between the old and new repaint rects when one of the text based repaint tests fail. Review URL: https://codereview.chromium.org/303223008 git-svn-id: svn://svn.chromium.org/blink/trunk@175182 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=174983 BUG=164167 TBR=eae@chromium.org Review URL: https://codereview.chromium.org/308913003 git-svn-id: svn://svn.chromium.org/blink/trunk@175181 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=174992 BUG=164167 TBR=eae@chromium.org Review URL: https://codereview.chromium.org/304353011 git-svn-id: svn://svn.chromium.org/blink/trunk@175180 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-