- 26 Aug, 2015 30 commits
-
-
trchen@chromium.org authored
The purpose of the transparency clip is to give Skia raster hints so that a transparent layer can be sized according to the bounding box of contents being composited. The clip itself should be no-op, but will actually cause anti-alias artifact for transformed contents. Removing the transparency clip and use compositing bound will allow Skia to take account of anti-aliasing to properly size the transparent layer. BUG=524859 Review URL: https://codereview.chromium.org/1311633004 git-svn-id: svn://svn.chromium.org/blink/trunk@201202 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces composed tree version of |enclosingNodeOfType()| as a preparation of introducing composed tree version of |enclosingBlock()| for templatizing |VisiblePosition| class. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=webkit_unit_tests --gtest_fitler=EditingUtilitiesTest.enclosingNodeOfType Review URL: https://codereview.chromium.org/1309903003 git-svn-id: svn://svn.chromium.org/blink/trunk@201201 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bashi@chromium.org authored
Supporting deprecated Dictionary enables us to do step-by-step refactoring. Note for tests: Since Dictionary instances cannot outlive an event loop, DictionaryTest stores its properties intead of instances itself. Added getDictionaryMemberProperties() to retrieve these properties. BUG=524357 Review URL: https://codereview.chromium.org/1316833003 git-svn-id: svn://svn.chromium.org/blink/trunk@201199 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sashab@chromium.org authored
Remove the failure expectation for fast/css/word-spacing-characters-complex-text.html on Linux, since it is no longer failing. BUG=419769 Review URL: https://codereview.chromium.org/1312873003 git-svn-id: svn://svn.chromium.org/blink/trunk@201198 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jbroman@chromium.org authored
This file does not use RetainPtr. Review URL: https://codereview.chromium.org/1309283002 git-svn-id: svn://svn.chromium.org/blink/trunk@201197 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
timloh@chromium.org authored
Since 'all' is a CSS property (a shorthand for almost every other property), we shouldn't need special logic to handle it during parsing. For efficiency, it is still special-cased when we compute which transitions to start. Review URL: https://codereview.chromium.org/1308073007 git-svn-id: svn://svn.chromium.org/blink/trunk@201196 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jbroman@chromium.org authored
This file does not use RetainPtr. Review URL: https://codereview.chromium.org/1313733002 git-svn-id: svn://svn.chromium.org/blink/trunk@201195 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ericwilligers@chromium.org authored
WebInputEventConversionTest.ElasticOverscrollWithPageReload was failing: [ RUN ] WebInputEventConversionTest.ElasticOverscrollWithPageReload Check failed: url_to_reponse_info_.find(url) == url_to_reponse_info_.end(). BUG=521229 Review URL: https://codereview.chromium.org/1302313008 git-svn-id: svn://svn.chromium.org/blink/trunk@201194 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vivek.vg@samsung.com authored
This patch uses |union| to store the constant values to reduce space required. This patch saves about ~4 Kbytes of in |.data.rel.ro.local| with component build on linux platform. Also the size of V8DOMConfiguration::ConstantConfiguration is down to 24 bytes from 40 bytes on 64bit linux build. BUG=469961 Review URL: https://codereview.chromium.org/1310443005 git-svn-id: svn://svn.chromium.org/blink/trunk@201193 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
miletus@chromium.org authored
We currently scale x/y coordinate of svg path using the same scale factor for hit-test. It has the problem that when x/y values have different magnitudes, e.g. when x has huge value and y has small value, scaling down x and y using the same scale factor will clamp the y values and make it lose the resolution for hit-test. Scaling x/y separately can fix the problem. BUG=379320 Review URL: https://codereview.chromium.org/1300783005 git-svn-id: svn://svn.chromium.org/blink/trunk@201192 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
peria@chromium.org authored
in WebEmbeddedWorkerImpl and WebSharedWorkerImpl. Those member variables are instantiated with WebLocalFrame::create(), and it actually creates a WebLocalFrameImpl instance. On Oilpan build, WebLocalFrameImpl has a self-referential persistent to keep itself alive, and it will be cleared on call of WebLocalFrameImpl::close(). In those two classes, m_mainFrame->close() is called in destructors, so the self referential persistent is cleared in destruction on Oilpan build. Beside it, on both non-Oilpan build and Oilpan build, m_mainFrame is also cleared and should be released. BUG=509911 Review URL: https://codereview.chromium.org/1308313002 git-svn-id: svn://svn.chromium.org/blink/trunk@201191 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lushnikov@chromium.org authored
- Simplify StyleSectionModel.isPropertyOverloaded method. It does not require a second parameter any more. - As a side effect of previous bullet, fix a bug and add a test. - Centralize all logic of computing used properties in a single place. BUG=496263 R=pfeldman Review URL: https://codereview.chromium.org/1320543002 git-svn-id: svn://svn.chromium.org/blink/trunk@201190 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
miletus@chromium.org authored
Currently we have a hit-testing fallback that if nothing is hit, consider the root layer (document element) is hit. The fallback is only for main document, but not iframe. It is not unreasonable that if the hit point is within the iframe's bound, it should be considered to hit the iframe's document if it does not hit any other element. This CL does this modification to the fallback rule. BUG=508474 Review URL: https://codereview.chromium.org/1289753006 git-svn-id: svn://svn.chromium.org/blink/trunk@201188 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lgarron@chromium.org authored
BUG=502118, 503170 Review URL: https://codereview.chromium.org/1301833003 git-svn-id: svn://svn.chromium.org/blink/trunk@201187 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch changes |VisibleUnitsTest.localCaretRectOfPosition| to check results of |localCaretRectOfPosition()| aren't empty for improving detection of regression. This is a follow-up patch for http://crrev.com/1317503002, which introduces composed tree version of | localCaretRectOfPosition()|. BUG=513568 TEST=webkit_unit_tests --gtest_filter=VisibleUnitsTest.localCaretRectOfPosition Review URL: https://codereview.chromium.org/1319623004 git-svn-id: svn://svn.chromium.org/blink/trunk@201186 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alancutter@chromium.org authored
We must apply color animations to both the visited and unvisited computed style colors when inside links as the animation must apply in either case. BUG=506898 Review URL: https://codereview.chromium.org/1312983003 git-svn-id: svn://svn.chromium.org/blink/trunk@201185 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kochi@chromium.org authored
Author shadow roots used to show in inspector as "#shadow-root", but with this CL it will be shown as "#shadow-root (open)" or "#shadow-root (closed)" respectively. BUG=516969 TEST=pass all layout tests Review URL: https://codereview.chromium.org/1309403002 git-svn-id: svn://svn.chromium.org/blink/trunk@201184 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
timloh@chromium.org authored
This patch fixes make_css_property_names.py to use _first_enum_value where appropriate so that the value can be updated in the future. Review URL: https://codereview.chromium.org/1310073003 git-svn-id: svn://svn.chromium.org/blink/trunk@201183 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kojii@chromium.org authored
CachingWordShapeIterator splits runs in the logical order, but ShapeResult::offsetForPosition() expected the input to be in the visual order. This patch fixes ShapeResult::offsetForPosition() to handle the list of ShapeResult from CachingWordShapeIterator in the logical order. This is a regression of "Change Font::offsetForPositionForComplexText to use CachingWordShapeIterator"[1]. Unfortunately tests in the CL did not catch this logic/visual inconsistency. The test was updated to include it. The test string has a diacritic mark at offset 1, and the test ensures offsetForPosition() dose not return 1. All platforms pass this criteria, however, only Mac test runner does not return offset 5 (Mac content shell is fine) so Mac -expeted is added separately. [1] https://codereview.chromium.org/1248453004/ BUG=518347 TEST=editing/selection/offset-from-point-complex-scripts.html Review URL: https://codereview.chromium.org/1314543003 git-svn-id: svn://svn.chromium.org/blink/trunk@201181 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mnaganov@chromium.org authored
BUG=524826 git-svn-id: svn://svn.chromium.org/blink/trunk@201180 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
Make selectMisspellingAsync() to use VisibleSelection::toNormalizedEphemeralRange() instead of toNormalizedRange() This patch changes |selectMisspellingAsync| class to use |toNormalizedEphemeralRange()| in |VisibleSelection| class instead of |toNormalizedRange()| as a preparation of templatizing |VisibleSelection| to use templatized positions instead of DOM position to represent range. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1319433002 git-svn-id: svn://svn.chromium.org/blink/trunk@201179 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
Make DeleteSelectionCommand to use VisibleSelection::toNormalizedEphemeralRange() instead of toNormalizedRange() This patch changes |DeleteSelectionCommand| class to use |toNormalizedEphemeralRange()| in |VisibleSelection| class instead of |toNormalizedRange()| as a preparation of templatizing |VisibleSelection| to use templatized positions instead of DOM position to represent range. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1309423002 git-svn-id: svn://svn.chromium.org/blink/trunk@201178 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mnaganov@chromium.org authored
BUG=524804 git-svn-id: svn://svn.chromium.org/blink/trunk@201177 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
andrei.borza@gmail.com authored
When selecting more than 1 touch device during device mode in devtools, only the touchevent scripts for the last selected device are cleared upon exiting device mode. Events such as 'ontouchstart', coming from previous devices, will persist. BUG=133915 TEST=Reproduction steps are in https://crbug.com/133915#c46 Review URL: https://codereview.chromium.org/1313793005 git-svn-id: svn://svn.chromium.org/blink/trunk@201176 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jyasskin@chromium.org authored
NoBluetoothChooser ChosenDeviceVanished ChooserCancelled 1st of 3 patches: 1. This patch. 2. Wire up the chooser on the Chrome side. (https://codereview.chromium.org/1286063002/) 3. Update the test assertions and remove now-unused errors. (https://codereview.chromium.org/1284143006/) BUG=500989 Review URL: https://codereview.chromium.org/1293593003 git-svn-id: svn://svn.chromium.org/blink/trunk@201175 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nainar@chromium.org authored
getComputedStyle(e).transform currently doesn't return the correct values for non-transformable elements. Both FF and IE return the correct values. This patch makes getComputedStyle(e).transform return the correct value for non-transformable elements as well. BUG=517620 Review URL: https://codereview.chromium.org/1312023003 git-svn-id: svn://svn.chromium.org/blink/trunk@201174 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alph@chromium.org authored
BUG=524711 NOTRY=true Review URL: https://codereview.chromium.org/1317733002 git-svn-id: svn://svn.chromium.org/blink/trunk@201173 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
The text autosizer demarcates certain nodes as "clusters" that autosize using a consistent font multiplier (see http://tinyurl.com/TextAutosizer for a full description). Clusters can nest forming a tree, and a root cluster is assumed to be available to all Nodes except the LayoutView. This patch fixes a bug where no root cluster was created by a LayoutView which contained LayoutObject children (in this case, a sole pagination anonymous block) but no Node children. A similar situation can occur with completely empty documents. Asserts & comments have been added to clarify the root cluster concept. BUG=521657 Review URL: https://codereview.chromium.org/1308693003 git-svn-id: svn://svn.chromium.org/blink/trunk@201172 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jsbell@chromium.org authored
BUG=457450 Review URL: https://codereview.chromium.org/1312983006 git-svn-id: svn://svn.chromium.org/blink/trunk@201171 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mnaganov@chromium.org authored
BUG=524764 git-svn-id: svn://svn.chromium.org/blink/trunk@201170 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 25 Aug, 2015 10 commits
-
-
wangxianzhu@chromium.org authored
BUG=524596 Review URL: https://codereview.chromium.org/1306993005 git-svn-id: svn://svn.chromium.org/blink/trunk@201169 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
chrishtr@chromium.org authored
This is in preparation for making the FloatRect constructor from LayoutRect explicit. BUG=524259 Review URL: https://codereview.chromium.org/1303413004 git-svn-id: svn://svn.chromium.org/blink/trunk@201168 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alph@chromium.org authored
NOTRY=true Review URL: https://codereview.chromium.org/1311013004 git-svn-id: svn://svn.chromium.org/blink/trunk@201167 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
skobes@chromium.org authored
Four methods on blink::Element that provide special functionality for the html element (document.documentElement in JS) are updated for compatibility with root layer scrolling. BUG=518885 R=eae@chromium.org Review URL: https://codereview.chromium.org/1310323003 . git-svn-id: svn://svn.chromium.org/blink/trunk@201166 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kozyatinskiy@chromium.org authored
Move logic from cstor for reusing it in future CLs. R=pfeldman@chromium.org Review URL: https://codereview.chromium.org/1319613002 git-svn-id: svn://svn.chromium.org/blink/trunk@201165 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hans@chromium.org authored
BUG=488634 NOTRY=true Review URL: https://codereview.chromium.org/1303413005 git-svn-id: svn://svn.chromium.org/blink/trunk@201164 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201142 BUG=524594 TBR=mnaganov@chromium.org Review URL: https://codereview.chromium.org/1303423004 . git-svn-id: svn://svn.chromium.org/blink/trunk@201163 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201140 BUG=252696 TBR=fs@opera.com Review URL: https://codereview.chromium.org/1306723007 . git-svn-id: svn://svn.chromium.org/blink/trunk@201162 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lazyboy@chromium.org authored
A remote frame can be detached by setting its .style.display = 'none'. If we attach it again by setting its .style.display = '', the frame becomes widget/FrameView-less. This CL sets the widget of the frame. BUG=517291 Test=With --site-per-process, navigate an <iframe> to cross site. See that resizing the frame works correctly, e.g.: document.querySelector('iframe').style.width = '400px'; Now hide the iframe, and then make it visible: document.querySelector('iframe').style.display = 'none'; document.querySelector('iframe').style.display = ''; See that resizing the frame still works correctly. It will fail without this CL. Review URL: https://codereview.chromium.org/1309343002 git-svn-id: svn://svn.chromium.org/blink/trunk@201161 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201031 BUG=509025 TBR=leviw@chromium.org Review URL: https://codereview.chromium.org/1317683004 . git-svn-id: svn://svn.chromium.org/blink/trunk@201156 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-