Browse files

Removing text-shadow from region styling as it got roll out

  • Loading branch information...
1 parent e8b4803 commit 3e858234214f76fd05fe599ff6e23270be9d0f94 @mibalan mibalan committed Nov 14, 2012
Showing with 2 additions and 15 deletions.
  1. +2 −15 samples/css-regions/basic/region-styling.html
View
17 samples/css-regions/basic/region-styling.html
@@ -26,6 +26,8 @@
}
.region {
-webkit-flow-from: article;
+ -webkit-region-overflow: break;
+ overflow: hidden;
}
article {
@@ -59,11 +61,6 @@
background-color: lightblue;
}
}
- @-webkit-region #region3 {
- p {
- text-shadow: gold 2px 2px 2px;
- }
- }
</style>
</head>
<body>
@@ -73,8 +70,6 @@
<div class="cell-caption"></div>
<div class="cell region" id="region2"></div>
<div class="cell-caption"></div>
- <div class="cell region" id="region3"></div>
- <div class="cell-caption"></div>
</div>
<article>
<h1>Styling content when it flows into a region</h1>
@@ -113,14 +108,6 @@
}
}</pre>
</aside>
- <aside>
- <p>&larr; Text in this region should have a <span style="color: gold;">gold</span> shadow. Here's the CSS that achieves that:</p>
- <pre>@region #region3 {
- p {
- text-shadow: gold 2px 2px 2px;
- }
-}</pre>
- </aside>
</article>
<script type="text/javascript" src="shared-script.js"></script>
</body>

0 comments on commit 3e85823

Please sign in to comment.