Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Issue 1141943002: Disable multicol when printing. (Closed)

Created:
5 years, 7 months ago by mstensho (USE GERRIT)
Modified:
5 years, 7 months ago
CC:
blink-reviews, dglazkov+blink, rwlbuis, apavlov+blink_chromium.org, blink-reviews-css, darktears, pfeldman
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

Disable multicol when printing. Until crbug.com/99358 is fixed, we cannot really print multicol properly. The old multicol implementation has code (in C++) to prevent multicol when printing, but since the new implementation creates a different layout tree structure for multicol, it's going to be quite some work to remove multicol containers when switching the document to printing. So let's do it in CSS instead. R=rune@opera.com,dsinclair@chromium.org,jchaffraix@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195531

Patch Set 1 #

Patch Set 2 : rebase master #

Patch Set 3 : Update LayoutTests/inspector/elements/styles/media-emulation-expected.txt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -0 lines) Patch
M LayoutTests/inspector/elements/styles/media-emulation-expected.txt View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
A LayoutTests/printing/multicol-not-supported.html View 1 chunk +21 lines, -0 lines 0 comments Download
A LayoutTests/printing/multicol-not-supported-expected.txt View 1 chunk +19 lines, -0 lines 0 comments Download
M Source/core/css/html.css View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
mstensho (USE GERRIT)
5 years, 7 months ago (2015-05-15 11:04:48 UTC) #1
rune
lgtm
5 years, 7 months ago (2015-05-15 13:36:16 UTC) #2
mstensho (USE GERRIT)
On 2015/05/15 13:36:16, rune wrote: > lgtm Thanks. Need to figure out what to do ...
5 years, 7 months ago (2015-05-15 13:55:36 UTC) #3
rune
On 2015/05/15 13:55:36, mstensho wrote: > On 2015/05/15 13:36:16, rune wrote: > > lgtm > ...
5 years, 7 months ago (2015-05-15 14:45:18 UTC) #4
mstensho (USE GERRIT)
On 2015/05/15 14:45:18, rune wrote: > -webkit-columns:0 is an invalid value and should be dropped, ...
5 years, 7 months ago (2015-05-15 20:02:22 UTC) #5
mstensho (USE GERRIT)
inspector/elements/styles/media-emulation.html now fails. Like this: https://storage.googleapis.com/chromium-layout-test-archives/linux_blink_rel/61810/layout-test-results/inspector/elements/styles/media-emulation-wdiff.html I could just update the expectation file, but would ...
5 years, 7 months ago (2015-05-15 21:25:38 UTC) #6
dgozman
On 2015/05/15 21:25:38, mstensho wrote: > inspector/elements/styles/media-emulation.html now fails. Like this: > > https://storage.googleapis.com/chromium-layout-test-archives/linux_blink_rel/61810/layout-test-results/inspector/elements/styles/media-emulation-wdiff.html > ...
5 years, 7 months ago (2015-05-16 01:33:24 UTC) #7
mstensho (USE GERRIT)
On 2015/05/16 01:33:24, dgozman_ooo wrote: > On 2015/05/15 21:25:38, mstensho wrote: > > inspector/elements/styles/media-emulation.html now ...
5 years, 7 months ago (2015-05-19 11:36:08 UTC) #8
mstensho (USE GERRIT)
Found out what caused this. Setting -webkit-columns:auto on an element wasn't exactly the same as ...
5 years, 7 months ago (2015-05-19 11:44:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1141943002/40001
5 years, 7 months ago (2015-05-19 11:50:12 UTC) #12
commit-bot: I haz the power
5 years, 7 months ago (2015-05-19 13:26:32 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195531

Powered by Google App Engine
This is Rietveld 408576698