- 20 Mar, 2014 3 commits
-
-
jamesr@chromium.org authored
Includes of this style are more consistent with the rest of the project and easier to verify with DEPS. For consistency, includes in public/web/ of other headers in public/web/ are rewritten to list the public/web/ portion as well. BUG=350097 Review URL: https://codereview.chromium.org/189703002 git-svn-id: svn://svn.chromium.org/blink/trunk@169597 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
esprehn@chromium.org authored
Theres no reason to synchronously recalc style whenever you change the media attribute of a <style>. Review URL: https://codereview.chromium.org/205463002 git-svn-id: svn://svn.chromium.org/blink/trunk@169596 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tasak@google.com authored
StyleSheetContents cache works independent of document's active(), because StyleElement::process() always invokes StyleEngine::createSheet(). So removeSheetFromCache should also remove 'this' from the cache independent of document's active(). BUG=353894 TEST=fast/dom/move-style-element-to-inactive-document-crash.html Review URL: https://codereview.chromium.org/204423002 git-svn-id: svn://svn.chromium.org/blink/trunk@169595 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 19 Mar, 2014 37 commits
-
-
tkent@chromium.org authored
BUG=347902 Review URL: https://codereview.chromium.org/201083003 git-svn-id: svn://svn.chromium.org/blink/trunk@169594 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rego@igalia.com authored
CSS Regions code has been removed in r167275 so these performance tests do not work anymore. Review URL: https://codereview.chromium.org/205323003 git-svn-id: svn://svn.chromium.org/blink/trunk@169593 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dglazkov@chromium.org authored
It appears that this never worked correctly. To implement, I extracted the code we use to set initial value for document and started using it when applying initial font-family value. BUG=354110 R=eseidel,eae Review URL: https://codereview.chromium.org/197213034 git-svn-id: svn://svn.chromium.org/blink/trunk@169592 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
Use it in WebSocket. BUG=339373 R=tyoshino, abarth Review URL: https://codereview.chromium.org/201593002 git-svn-id: svn://svn.chromium.org/blink/trunk@169591 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ch.dumez@samsung.com authored
Add isHTMLPlugInElement() helpers for consistency with other HTML elements. Those helpers rely on the isPluginElement() virtual function to check if an Element is an HTMLPlugInElement. R=tkent, adamk BUG=346095 Review URL: https://codereview.chromium.org/202153005 git-svn-id: svn://svn.chromium.org/blink/trunk@169589 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wangxianzhu@chromium.org authored
RenderBlock::percentHeightDescendants() is used to schedule layout of descencents of a block when the logical height of the block changes. It should contain descendants having percent height whose real height calculation depends on the height of the block. Previously - the set doesn't contain direct children; - skipped containing blocks for percent height calculation unnecessarily have the set. Let the set contain all necessary objects. This doesn't fix any functional breakage for now, but later layout optimization may depend on the correct behavior of the function. BUG=327815 TEST=WebFrameTest.RenderBlockPercentHeightDescendants Review URL: https://codereview.chromium.org/201153008 git-svn-id: svn://svn.chromium.org/blink/trunk@169588 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=169576 BUG=353934 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/205393003 git-svn-id: svn://svn.chromium.org/blink/trunk@169587 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dglazkov@chromium.org authored
We actually never use it in a meaningful way. R=eae,eseidel BUG= Review URL: https://codereview.chromium.org/195893047 git-svn-id: svn://svn.chromium.org/blink/trunk@169586 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hclam@chromium.org authored
Since r168759 we use bilinear filtering for animated images. There are complaints about the drop in image quality. However we don't want to spend a lot of CPU cycles doing high quality animations for upscaling. This change is a compromise for animated images: we do a cheaper mipmapping for downscaling and bilinear for upscaling. There is a noticable quality improvement. This change implements InterpolationMedium for GraphicsContext. It used to be equivalent to InterpolationLow and is now a higher quality option. All GraphicsContext::drawSomething() methods have |useLowQualityScale| removed. This gives a much cleaner code. I also discovered/fixed a couple small issues with interpolation levels: * It is apparent now that InterpolationDefault means InterpolationHigh on desktop and InterpolationLow on Android. * Default for canvas elements used to InterpolationMedium but it really meant InterpolationLow. * There is a bug for rendering images in canvas that InterpolationNone should be used but it has been InterpolationLow all along. I didn't fix in this change but added a FIXME. The new interpolation level does not affect non-animated images. There is no need to rebaseline any pixel test. I added a test GIF file that loops two identical frames. This is used to test the image quality. BUG=353251 Review URL: https://codereview.chromium.org/201513003 git-svn-id: svn://svn.chromium.org/blink/trunk@169585 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ajuma@chromium.org authored
This changes GraphicsLayerPaintInfo::offsetFromSquashingCLM from an IntSize to a LayoutSize and changes SquashingState::offsetFromAbsoluteForSquashingCLM from an IntPoint to a LayoutPoint. This also adds a subpixelAccumulation field to GraphicsLayerPaintInfo; this gets computed at the same time as GraphicsLayerPaintInfo::offsetFromRenderer. BUG=327387 Review URL: https://codereview.chromium.org/143283011 git-svn-id: svn://svn.chromium.org/blink/trunk@169584 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rob.buis@samsung.com authored
The BasicShape ellipse and circle functions now report a syntax error if the "at" keyword is not followed by a position. The existing parsing tests have been updated to include this case. Ported over from http://trac.webkit.org/changeset/165835 BUG=353774 Review URL: https://codereview.chromium.org/203413006 git-svn-id: svn://svn.chromium.org/blink/trunk@169583 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dglazkov@chromium.org authored
Most of the code there was no-ops. R=eae,eseidel BUG= Review URL: https://codereview.chromium.org/204963002 git-svn-id: svn://svn.chromium.org/blink/trunk@169582 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pkasting@chromium.org authored
BUG=346399 TEST=none R=thakis@chromium.org Review URL: https://codereview.chromium.org/203743002 git-svn-id: svn://svn.chromium.org/blink/trunk@169581 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
This patch ensures the compositing layers are up-to-date when calling elementLayerTreeAsText and layerTreeAsText from tests. Before, elementLayerTreeAsText had a DisableCompositingQueryAsserts which this patch removes. layerTreeAsText previously updated updateCompositingLayers but that was not sufficient; this patch adds a tighter assert and calls updateLayoutAndStyleForPainting to fully update. BUG= Review URL: https://codereview.chromium.org/202523004 git-svn-id: svn://svn.chromium.org/blink/trunk@169579 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
morrita@chromium.org authored
This captures following spec chagne: https://www.w3.org/Bugs/Public/show_bug.cgi?id=24905 The essential part of the change is in HTMLImportsController.cpp. Anything else is to make it work with redirect. The problem here is that allowCredentials flag is held both by ResourceLoaderOptions and ResourceRequest and these two can go out-of-sync. This change tries to make them in sync. Such a state duplication should be resolved eventually, but that is another story. BUG=348671 TEST=import-cors-credentials.html R=dglazkov@chromium.org, japhet@chromium.org, abarth Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169496 Review URL: https://codereview.chromium.org/196043002 git-svn-id: svn://svn.chromium.org/blink/trunk@169578 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
morrita@chromium.org authored
This change tells the HTML parser know that lifecycle callbacks, that is triggered through Microtask checkpoint, can create resources that blocks scripts. It also streamlines the unblock notification from Document to the parser into didLoadAllScriptBlockingResources(). Now both didRemoveAllPendingStylesheets() and didLoadAllImports() checks resource readiness and invokes the unified notification. TEST=custom-element-style-block.html BUG=346408 R=dglazkov@chromium.org, dominicc@chromium.org Review URL: https://codereview.chromium.org/202813002 git-svn-id: svn://svn.chromium.org/blink/trunk@169577 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
enne@chromium.org authored
The repainting in this test is correct in all cases, but due to timing issues the actual repaint rects are not consistent from run to run or across platforms. Therefore, remove any text output for repaint rects and leave this as just a pixel test. BUG=353934,345027 Review URL: https://codereview.chromium.org/204873002 git-svn-id: svn://svn.chromium.org/blink/trunk@169576 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
enne@chromium.org authored
This test is testing some paint-dependent behavior (see issue 353827) and should behave identically whether or not testRunner.display() is called. However, without the testRunner.display() calling into paint, it misses some invalidations that need to be there for correctness. BUG=345027,353827 Review URL: https://codereview.chromium.org/197883025 git-svn-id: svn://svn.chromium.org/blink/trunk@169575 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lushnikov@chromium.org authored
This patch cleans up InspectorStyleSheet after the InspectorStyleSheet and InspectorStyleSheetForInlineStyle implementations were separated. It does the following changes: - remove InspectorStyleSheet.checkPageStyleSheet as it is never used - inline InspectorStyleSheet.ruleIndexByRule - inline method InspectorStyleSheet.ruleIdByStyle into InspectorStyleSheet.styleId - introduce single implementation for lineEndings in InspectorStyleSheetBase - eliminate method InspectorStyleSheetBase.reparsestyleSheet BUG=341506 Review URL: https://codereview.chromium.org/203633003 git-svn-id: svn://svn.chromium.org/blink/trunk@169574 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
timvolodine@chromium.org authored
This patch unlocks the text autosizing multipliers when the document has finished parsing. This is necessary to avoid weird effects when layout changes significantly during page load. Resetting multipliers allows for a fresh autosizing pass to take into account the whole document. In particular this patch fixes issues with overlines on http://forum.xda-developers.com and partially addresses inconsistent font size on www.drudgereport.com (see referenced bugs for details). BUG=346786,131566 Review URL: https://codereview.chromium.org/189113014 git-svn-id: svn://svn.chromium.org/blink/trunk@169572 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
chrishtr@chromium.org authored
The previous logic could fail in some cases when the heuristic specified for the identity of the layer to squash into did not match exactly the choice used later in assignLayersToBackings. The new code is a bit cleaner also. BUG=261605 Review URL: https://codereview.chromium.org/195893026 git-svn-id: svn://svn.chromium.org/blink/trunk@169571 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rob.buis@samsung.com authored
Review URL: https://codereview.chromium.org/203193008 git-svn-id: svn://svn.chromium.org/blink/trunk@169568 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eroman@chromium.org authored
Matches a planned change to the spec: https://www.w3.org/Bugs/Public/show_bug.cgi?id=25094 Chromium side of this change: https://codereview.chromium.org/203303006/ BUG=245025 Review URL: https://codereview.chromium.org/204013006 git-svn-id: svn://svn.chromium.org/blink/trunk@169567 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
qinmin@chromium.org authored
When an element enters fullscreen, main frame's content size may not be equal to that of the fullscreen renderer. As a result, the fullscreen layer is scrollable. This might cause some unnecessary computations and some wierd artifacts: For example, on android phones, the edge glow effect may come after scrolling the fullscreen video page several times, rather than coming immediately. This CL sets the scroll clip layer to NULL, so we won't be able to scroll it. BUG=352183 Review URL: https://codereview.chromium.org/200943002 git-svn-id: svn://svn.chromium.org/blink/trunk@169566 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ager@chromium.org authored
For some reason having this annotation leads to linker errors on the oilpan asan build. obj/third_party/WebKit/Source/modules/libmodules.a(obj/third_party/WebKit/Source/modules/webdatabase/modules.DatabaseSync.o):../../third_party/WebKit/Source/modules/webdatabase/DatabaseSync.cpp:function __unnamed_1: error: undefined reference to '.str' obj/third_party/WebKit/Source/modules/libmodules.a(obj/third_party/WebKit/Source/modules/webdatabase/modules.DatabaseSync.o):../../third_party/WebKit/Source/modules/webdatabase/DatabaseSync.cpp:function __unnamed_1: error: undefined reference to '.str1' Kostya, do you have any ideas why this might break the asan build? R=kcc@chromium.org, vegorov@chromium.org, zerny@chromium.org BUG= Review URL: https://codereview.chromium.org/204673002 git-svn-id: svn://svn.chromium.org/blink/trunk@169564 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ch.dumez@samsung.com authored
Make myself an OWNER for the screen_orientation module. R=abarth, eseidel NOTRY=true Review URL: https://codereview.chromium.org/199413031 git-svn-id: svn://svn.chromium.org/blink/trunk@169563 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rijubrata.bhaumik@intel.com authored
Blink side cleanup. related to crbug.com/344319 Review URL: https://codereview.chromium.org/203603007 git-svn-id: svn://svn.chromium.org/blink/trunk@169562 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zvorygin@chromium.org authored
IDBIndex.h -> IDBObjectStore.h -> IDBIndex.h IDBRequest.h -> IDBCursor.h -> IDBRequest.h BUG=353954 R=jsbell@chromium.org Review URL: https://codereview.chromium.org/203773012 git-svn-id: svn://svn.chromium.org/blink/trunk@169561 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jbroman@chromium.org authored
There are no const methods which modify these fields. BUG= Review URL: https://codereview.chromium.org/196483005 git-svn-id: svn://svn.chromium.org/blink/trunk@169560 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zvorygin@chromium.org authored
BUG=353954 Review URL: https://codereview.chromium.org/203223014 git-svn-id: svn://svn.chromium.org/blink/trunk@169559 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ch.dumez@samsung.com authored
Add Element::subResourceAttributeName() virtual function to distribute the code to each HTML class, instead of having a complex function with a lot of branching to determine the subresource attribute name of an Element. R=tkent, adamk Review URL: https://codereview.chromium.org/202633009 git-svn-id: svn://svn.chromium.org/blink/trunk@169558 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
BUG=353994 Review URL: https://codereview.chromium.org/196383036 git-svn-id: svn://svn.chromium.org/blink/trunk@169557 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rob.buis@samsung.com authored
Marker identifiers can be better stored as AtomicString (like for instance clip-path identifiers) since they wil llikely share the same value as an id attribute. Review URL: https://codereview.chromium.org/203723007 git-svn-id: svn://svn.chromium.org/blink/trunk@169556 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
R=lushnikov@chromium.org, lushnikov, pfeldman Review URL: https://codereview.chromium.org/203433002 git-svn-id: svn://svn.chromium.org/blink/trunk@169555 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
Uin32Array already has subarray method that returns a new view for the same array buffer. BUG=None R=alph@chromium.org Review URL: https://codereview.chromium.org/204563002 git-svn-id: svn://svn.chromium.org/blink/trunk@169554 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ager@chromium.org authored
TBR=vsevik@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/196423025 git-svn-id: svn://svn.chromium.org/blink/trunk@169553 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
This patch keeps highlightPosition method on SourceFrame for backwards compatibility with corresponding virtual methods on View. R=lushnikov@chromium.org, lushnikov, pfeldman Review URL: https://codereview.chromium.org/204323003 git-svn-id: svn://svn.chromium.org/blink/trunk@169551 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-