| Index: samples/third_party/todomvc/test/expected/todomvc_markdone_test.html.txt
|
| diff --git a/samples/third_party/todomvc/test/expected/todomvc_markdone_test.html.txt b/samples/third_party/todomvc/test/expected/todomvc_markdone_test.html.txt
|
| index 399a22ccca10ac9b472ea102c0394474037c85e9..872993a2dec63cf74f3ad252bbcda6569945db35 100644
|
| --- a/samples/third_party/todomvc/test/expected/todomvc_markdone_test.html.txt
|
| +++ b/samples/third_party/todomvc/test/expected/todomvc_markdone_test.html.txt
|
| @@ -1,6 +1,5 @@
|
| Content-Type: text/plain
|
| -<html lang="en"><head><style shadowcssshim="">style { display: none !important; }
|
| -</style><style shadowcssshim="">template { display: none; }</style>
|
| +<html lang="en"><head>
|
| <!--
|
| This test runs the TodoMVC app, adds a few todos, marks some as done
|
| programatically, and clicks on a checkbox to mark others via the UI.
|
| @@ -8,8 +7,8 @@ programatically, and clicks on a checkbox to mark others via the UI.
|
| <meta charset="utf-8">
|
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
| - <link rel="stylesheet" href="../../../web/base.css">
|
| - <script src="../../packages/polymer/testing/testing.js"></script>
|
| + <link rel="stylesheet" href="../web/base.css">
|
| + <script src="packages/polymer/testing/testing.js"></script>
|
| <title>Dart • TodoMVC</title>
|
| <style>template,
|
| thead[template],
|
| @@ -23,7 +22,24 @@ colgroup[template],
|
| col[template],
|
| option[template] {
|
| display: none;
|
| -}</style></head><body><polymer-element name="todo-row" extends="li" attributes="todo">
|
| +}</style></head><body><script src="packages/shadow_dom/shadow_dom.min.js"></script>
|
| +<script src="packages/browser/interop.js"></script>
|
| +<polymer-element name="router-options" extends="ul">
|
| + <template><content></content></template>
|
| +
|
| +</polymer-element><polymer-element name="editable-label" attributes="value">
|
| + <template>
|
| + <template bind="" if="{{!editing}}">
|
| + <label class="edit-label" on-double-click="edit">{{value}}</label>
|
| + </template>
|
| + <template bind="" if="{{editing}}">
|
| + <form on-submit="update">
|
| + <input id="edit" class="edit editing" on-blur="update" on-key-up="maybeCancel">
|
| + </form>
|
| + </template>
|
| + </template>
|
| +
|
| +</polymer-element><polymer-element name="todo-row" extends="li" attributes="todo">
|
| <template>
|
| <style scoped="">
|
| .todo-item {
|
| @@ -142,8 +158,7 @@ ShadowRoot because it crosses the shadow boundary.
|
| </div>
|
| </template>
|
|
|
| -</polymer-element>
|
| -<polymer-element name="todo-app">
|
| +</polymer-element><polymer-element name="todo-app">
|
| <template>
|
| <section id="todoapp">
|
| <header id="header">
|
| @@ -191,24 +206,6 @@ ShadowRoot because it crosses the shadow boundary.
|
| </template>
|
|
|
| </polymer-element>
|
| -<polymer-element name="router-options" extends="ul">
|
| - <template><content></content></template>
|
| -
|
| -</polymer-element>
|
| -<polymer-element name="editable-label" attributes="value">
|
| - <template>
|
| - <template bind="" if="{{!editing}}">
|
| - <label class="edit-label" on-double-click="edit">{{value}}</label>
|
| - </template>
|
| - <template bind="" if="{{editing}}">
|
| - <form on-submit="update">
|
| - <input id="edit" class="edit editing" on-blur="update" on-key-up="maybeCancel">
|
| - </form>
|
| - </template>
|
| - </template>
|
| -
|
| -</polymer-element>
|
| -
|
| <todo-app><shadow-root>
|
| <section id="todoapp">
|
| <header id="header">
|
| @@ -223,67 +220,7 @@ ShadowRoot because it crosses the shadow boundary.
|
| <ul id="todo-list">
|
| <template repeat="{{app.visibleTodos}}"></template>
|
| <li is="todo-row" todo="{{}}"><shadow-root>
|
| - <style scoped="">todo-row .todo-item, [is=todo-row] .todo-item {
|
| - position: relative; font-size: 24px; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(204, 204, 204);
|
| -}
|
| -
|
| -todo-row .todo-item.editing, [is=todo-row] .todo-item.editing {
|
| - border-bottom-style: none; padding: 0px;
|
| -}
|
| -
|
| -todo-row .todo-item.completed [is="editable-label"], [is=todo-row] .todo-item.completed [is="editable-label"] {
|
| - color: rgb(169, 169, 169); text-decoration: line-through;
|
| -}
|
| -
|
| -todo-row .todo-item .toggle, [is=todo-row] .todo-item .toggle {
|
| - text-align: center; width: 40px; height: auto; position: absolute; top: 0px; bottom: 0px; margin: auto 0px; border: none; -webkit-appearance: none;
|
| -}
|
| -
|
| -todo-row .todo-item .toggle::after, [is=todo-row] .todo-item .toggle::after {
|
| - content: '✔'; line-height: 43px; font-size: 20px; color: rgb(217, 217, 217); text-shadow: rgb(191, 191, 191) 0px -1px 0px;
|
| -}
|
| -
|
| -todo-row .todo-item .toggle:checked::after, [is=todo-row] .todo-item .toggle:checked::after {
|
| - color: rgb(133, 173, 167); text-shadow: rgb(102, 153, 145) 0px 1px 0px; bottom: 1px; position: relative;
|
| -}
|
| -
|
| -todo-row .todo-item .destroy, [is=todo-row] .todo-item .destroy {
|
| - display: none; position: absolute; top: 0px; right: 10px; bottom: 0px; width: 40px; height: 40px; margin: auto 0px; font-size: 22px; color: rgb(168, 138, 138); transition: all 0.2s; -webkit-transition: all 0.2s;
|
| -}
|
| -
|
| -todo-row .todo-item .destroy:hover, [is=todo-row] .todo-item .destroy:hover {
|
| - text-shadow: rgb(0, 0, 0) 0px 0px 1px, rgba(199, 107, 107, 0.8) 0px 0px 10px; -webkit-transform: scale(1.3);
|
| -}
|
| -
|
| -todo-row .todo-item .destroy::after, [is=todo-row] .todo-item .destroy::after {
|
| - content: '✖';
|
| -}
|
| -
|
| -todo-row .todo-item:hover .destroy, [is=todo-row] .todo-item:hover .destroy {
|
| - display: block;
|
| -}
|
| -
|
| -todo-row .todo-item.editing .destroy, [is=todo-row] .todo-item.editing .destroy, todo-row .todo-item.editing .toggle, [is=todo-row] .todo-item.editing .toggle {
|
| - display: none;
|
| -}
|
| -
|
| -todo-row .todo-item.editing:last-child, [is=todo-row] .todo-item.editing:last-child {
|
| - margin-bottom: -1px;
|
| -}
|
| -
|
| -@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
| -todo-row .todo-item .toggle, [is=todo-row] .todo-item .toggle {
|
| - background-image: none; background-position: initial initial; background-repeat: initial initial;
|
| -}
|
| -
|
| -todo-row #todo-item .toggle, [is=todo-row] #todo-item .toggle {
|
| - height: 40px;
|
| -}
|
| -
|
| -
|
| -}
|
| -
|
| -</style>
|
| + <style scoped="">/* style hidden by testing.js */</style>
|
| <div class="todo-item">
|
| <input class="toggle" type="checkbox">
|
| <editable-label id="label" value="{{todo.task}}"><shadow-root>
|
| @@ -297,67 +234,7 @@ todo-row #todo-item .toggle, [is=todo-row] #todo-item .toggle {
|
| </shadow-root></li>
|
|
|
| <li is="todo-row" todo="{{}}"><shadow-root>
|
| - <style scoped="">todo-row .todo-item, [is=todo-row] .todo-item {
|
| - position: relative; font-size: 24px; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(204, 204, 204);
|
| -}
|
| -
|
| -todo-row .todo-item.editing, [is=todo-row] .todo-item.editing {
|
| - border-bottom-style: none; padding: 0px;
|
| -}
|
| -
|
| -todo-row .todo-item.completed [is="editable-label"], [is=todo-row] .todo-item.completed [is="editable-label"] {
|
| - color: rgb(169, 169, 169); text-decoration: line-through;
|
| -}
|
| -
|
| -todo-row .todo-item .toggle, [is=todo-row] .todo-item .toggle {
|
| - text-align: center; width: 40px; height: auto; position: absolute; top: 0px; bottom: 0px; margin: auto 0px; border: none; -webkit-appearance: none;
|
| -}
|
| -
|
| -todo-row .todo-item .toggle::after, [is=todo-row] .todo-item .toggle::after {
|
| - content: '✔'; line-height: 43px; font-size: 20px; color: rgb(217, 217, 217); text-shadow: rgb(191, 191, 191) 0px -1px 0px;
|
| -}
|
| -
|
| -todo-row .todo-item .toggle:checked::after, [is=todo-row] .todo-item .toggle:checked::after {
|
| - color: rgb(133, 173, 167); text-shadow: rgb(102, 153, 145) 0px 1px 0px; bottom: 1px; position: relative;
|
| -}
|
| -
|
| -todo-row .todo-item .destroy, [is=todo-row] .todo-item .destroy {
|
| - display: none; position: absolute; top: 0px; right: 10px; bottom: 0px; width: 40px; height: 40px; margin: auto 0px; font-size: 22px; color: rgb(168, 138, 138); transition: all 0.2s; -webkit-transition: all 0.2s;
|
| -}
|
| -
|
| -todo-row .todo-item .destroy:hover, [is=todo-row] .todo-item .destroy:hover {
|
| - text-shadow: rgb(0, 0, 0) 0px 0px 1px, rgba(199, 107, 107, 0.8) 0px 0px 10px; -webkit-transform: scale(1.3);
|
| -}
|
| -
|
| -todo-row .todo-item .destroy::after, [is=todo-row] .todo-item .destroy::after {
|
| - content: '✖';
|
| -}
|
| -
|
| -todo-row .todo-item:hover .destroy, [is=todo-row] .todo-item:hover .destroy {
|
| - display: block;
|
| -}
|
| -
|
| -todo-row .todo-item.editing .destroy, [is=todo-row] .todo-item.editing .destroy, todo-row .todo-item.editing .toggle, [is=todo-row] .todo-item.editing .toggle {
|
| - display: none;
|
| -}
|
| -
|
| -todo-row .todo-item.editing:last-child, [is=todo-row] .todo-item.editing:last-child {
|
| - margin-bottom: -1px;
|
| -}
|
| -
|
| -@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
| -todo-row .todo-item .toggle, [is=todo-row] .todo-item .toggle {
|
| - background-image: none; background-position: initial initial; background-repeat: initial initial;
|
| -}
|
| -
|
| -todo-row #todo-item .toggle, [is=todo-row] #todo-item .toggle {
|
| - height: 40px;
|
| -}
|
| -
|
| -
|
| -}
|
| -
|
| -</style>
|
| + <style scoped="">/* style hidden by testing.js */</style>
|
| <div class="todo-item">
|
| <input class="toggle" type="checkbox">
|
| <editable-label id="label" value="{{todo.task}}"><shadow-root>
|
| @@ -371,67 +248,7 @@ todo-row #todo-item .toggle, [is=todo-row] #todo-item .toggle {
|
| </shadow-root></li>
|
|
|
| <li is="todo-row" todo="{{}}"><shadow-root>
|
| - <style scoped="">todo-row .todo-item, [is=todo-row] .todo-item {
|
| - position: relative; font-size: 24px; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(204, 204, 204);
|
| -}
|
| -
|
| -todo-row .todo-item.editing, [is=todo-row] .todo-item.editing {
|
| - border-bottom-style: none; padding: 0px;
|
| -}
|
| -
|
| -todo-row .todo-item.completed [is="editable-label"], [is=todo-row] .todo-item.completed [is="editable-label"] {
|
| - color: rgb(169, 169, 169); text-decoration: line-through;
|
| -}
|
| -
|
| -todo-row .todo-item .toggle, [is=todo-row] .todo-item .toggle {
|
| - text-align: center; width: 40px; height: auto; position: absolute; top: 0px; bottom: 0px; margin: auto 0px; border: none; -webkit-appearance: none;
|
| -}
|
| -
|
| -todo-row .todo-item .toggle::after, [is=todo-row] .todo-item .toggle::after {
|
| - content: '✔'; line-height: 43px; font-size: 20px; color: rgb(217, 217, 217); text-shadow: rgb(191, 191, 191) 0px -1px 0px;
|
| -}
|
| -
|
| -todo-row .todo-item .toggle:checked::after, [is=todo-row] .todo-item .toggle:checked::after {
|
| - color: rgb(133, 173, 167); text-shadow: rgb(102, 153, 145) 0px 1px 0px; bottom: 1px; position: relative;
|
| -}
|
| -
|
| -todo-row .todo-item .destroy, [is=todo-row] .todo-item .destroy {
|
| - display: none; position: absolute; top: 0px; right: 10px; bottom: 0px; width: 40px; height: 40px; margin: auto 0px; font-size: 22px; color: rgb(168, 138, 138); transition: all 0.2s; -webkit-transition: all 0.2s;
|
| -}
|
| -
|
| -todo-row .todo-item .destroy:hover, [is=todo-row] .todo-item .destroy:hover {
|
| - text-shadow: rgb(0, 0, 0) 0px 0px 1px, rgba(199, 107, 107, 0.8) 0px 0px 10px; -webkit-transform: scale(1.3);
|
| -}
|
| -
|
| -todo-row .todo-item .destroy::after, [is=todo-row] .todo-item .destroy::after {
|
| - content: '✖';
|
| -}
|
| -
|
| -todo-row .todo-item:hover .destroy, [is=todo-row] .todo-item:hover .destroy {
|
| - display: block;
|
| -}
|
| -
|
| -todo-row .todo-item.editing .destroy, [is=todo-row] .todo-item.editing .destroy, todo-row .todo-item.editing .toggle, [is=todo-row] .todo-item.editing .toggle {
|
| - display: none;
|
| -}
|
| -
|
| -todo-row .todo-item.editing:last-child, [is=todo-row] .todo-item.editing:last-child {
|
| - margin-bottom: -1px;
|
| -}
|
| -
|
| -@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
| -todo-row .todo-item .toggle, [is=todo-row] .todo-item .toggle {
|
| - background-image: none; background-position: initial initial; background-repeat: initial initial;
|
| -}
|
| -
|
| -todo-row #todo-item .toggle, [is=todo-row] #todo-item .toggle {
|
| - height: 40px;
|
| -}
|
| -
|
| -
|
| -}
|
| -
|
| -</style>
|
| + <style scoped="">/* style hidden by testing.js */</style>
|
| <div class="todo-item completed">
|
| <input class="toggle" type="checkbox">
|
| <editable-label id="label" value="{{todo.task}}"><shadow-root>
|
| @@ -445,67 +262,7 @@ todo-row #todo-item .toggle, [is=todo-row] #todo-item .toggle {
|
| </shadow-root></li>
|
|
|
| <li is="todo-row" todo="{{}}"><shadow-root>
|
| - <style scoped="">todo-row .todo-item, [is=todo-row] .todo-item {
|
| - position: relative; font-size: 24px; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(204, 204, 204);
|
| -}
|
| -
|
| -todo-row .todo-item.editing, [is=todo-row] .todo-item.editing {
|
| - border-bottom-style: none; padding: 0px;
|
| -}
|
| -
|
| -todo-row .todo-item.completed [is="editable-label"], [is=todo-row] .todo-item.completed [is="editable-label"] {
|
| - color: rgb(169, 169, 169); text-decoration: line-through;
|
| -}
|
| -
|
| -todo-row .todo-item .toggle, [is=todo-row] .todo-item .toggle {
|
| - text-align: center; width: 40px; height: auto; position: absolute; top: 0px; bottom: 0px; margin: auto 0px; border: none; -webkit-appearance: none;
|
| -}
|
| -
|
| -todo-row .todo-item .toggle::after, [is=todo-row] .todo-item .toggle::after {
|
| - content: '✔'; line-height: 43px; font-size: 20px; color: rgb(217, 217, 217); text-shadow: rgb(191, 191, 191) 0px -1px 0px;
|
| -}
|
| -
|
| -todo-row .todo-item .toggle:checked::after, [is=todo-row] .todo-item .toggle:checked::after {
|
| - color: rgb(133, 173, 167); text-shadow: rgb(102, 153, 145) 0px 1px 0px; bottom: 1px; position: relative;
|
| -}
|
| -
|
| -todo-row .todo-item .destroy, [is=todo-row] .todo-item .destroy {
|
| - display: none; position: absolute; top: 0px; right: 10px; bottom: 0px; width: 40px; height: 40px; margin: auto 0px; font-size: 22px; color: rgb(168, 138, 138); transition: all 0.2s; -webkit-transition: all 0.2s;
|
| -}
|
| -
|
| -todo-row .todo-item .destroy:hover, [is=todo-row] .todo-item .destroy:hover {
|
| - text-shadow: rgb(0, 0, 0) 0px 0px 1px, rgba(199, 107, 107, 0.8) 0px 0px 10px; -webkit-transform: scale(1.3);
|
| -}
|
| -
|
| -todo-row .todo-item .destroy::after, [is=todo-row] .todo-item .destroy::after {
|
| - content: '✖';
|
| -}
|
| -
|
| -todo-row .todo-item:hover .destroy, [is=todo-row] .todo-item:hover .destroy {
|
| - display: block;
|
| -}
|
| -
|
| -todo-row .todo-item.editing .destroy, [is=todo-row] .todo-item.editing .destroy, todo-row .todo-item.editing .toggle, [is=todo-row] .todo-item.editing .toggle {
|
| - display: none;
|
| -}
|
| -
|
| -todo-row .todo-item.editing:last-child, [is=todo-row] .todo-item.editing:last-child {
|
| - margin-bottom: -1px;
|
| -}
|
| -
|
| -@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
| -todo-row .todo-item .toggle, [is=todo-row] .todo-item .toggle {
|
| - background-image: none; background-position: initial initial; background-repeat: initial initial;
|
| -}
|
| -
|
| -todo-row #todo-item .toggle, [is=todo-row] #todo-item .toggle {
|
| - height: 40px;
|
| -}
|
| -
|
| -
|
| -}
|
| -
|
| -</style>
|
| + <style scoped="">/* style hidden by testing.js */</style>
|
| <div class="todo-item completed">
|
| <input class="toggle" type="checkbox">
|
| <editable-label id="label" value="{{todo.task}}"><shadow-root>
|
| @@ -551,6 +308,4 @@ todo-row #todo-item .toggle, [is=todo-row] #todo-item .toggle {
|
|
|
|
|
|
|
| -<script type="text/javascript" src="packages/shadow_dom/shadow_dom.debug.js"></script>
|
| -<script type="text/javascript" src="packages/browser/interop.js"></script>
|
| <script type="application/dart" src="todomvc_markdone_test.html_bootstrap.dart"></script></body></html>
|
|
|