Skip to content

Commit a268ec4

Browse files
authored
Fixes #335: Prevent complex DOM workloads from hitting a specific WebKit pathology (#338)
* Utility function to create css variants for big-dom.css * update build scripts * update dists
1 parent 2414364 commit a268ec4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+4734
-3772
lines changed

resources/todomvc/architecture-examples/react-complex/dist/big-dom-generator.css renamed to resources/todomvc/architecture-examples/angular-complex/dist/big-dom-with-stacking-context-scrollable.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/todomvc/architecture-examples/angular-complex/dist/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

resources/todomvc/architecture-examples/angular-complex/scripts/build.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ const options = {
88
callerDirectory: path.resolve(__dirname),
99
sourceDirectory: path.join("..", "node_modules", "todomvc-angular", "dist"),
1010
title: "TodoMVC: Angular Complex DOM",
11-
filesToMove: ["node_modules/big-dom-generator/dist/big-dom-generator.css", "node_modules/big-dom-generator/dist/logo.png"],
11+
filesToMove: ["node_modules/big-dom-generator/dist/big-dom-with-stacking-context-scrollable.css", "node_modules/big-dom-generator/dist/logo.png"],
1212
cssFilePath: path.resolve(__dirname, "..", "node_modules", "big-dom-generator", "utils", "app.css"),
1313
cssFileNamePattern: /^styles.*\.css$/,
1414
standaloneDirectory: path.resolve(__dirname, "..", "..", "angular"),
1515
complexDirectory: path.resolve(__dirname, ".."),
16+
cssFilesToAddLinksFor: ["big-dom-with-stacking-context-scrollable.css"],
1617
};
1718

1819
buildComplex(options);

resources/todomvc/architecture-examples/react-redux-complex/dist/big-dom-generator.css renamed to resources/todomvc/architecture-examples/backbone-complex/dist/big-dom-with-stacking-context-scrollable.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/todomvc/architecture-examples/backbone-complex/dist/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

resources/todomvc/architecture-examples/backbone-complex/scripts/build.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ const options = {
88
callerDirectory: path.resolve(__dirname),
99
sourceDirectory: path.join("..", "node_modules", "todomvc-backbone", "dist"),
1010
title: "TodoMVC: Backbone Complex DOM",
11-
filesToMove: ["node_modules/big-dom-generator/dist/big-dom-generator.css", "node_modules/big-dom-generator/dist/logo.png"],
11+
filesToMove: ["node_modules/big-dom-generator/dist/big-dom-with-stacking-context-scrollable.css", "node_modules/big-dom-generator/dist/logo.png"],
1212
cssFilePath: path.resolve(__dirname, "..", "node_modules", "big-dom-generator", "utils", "app.css"),
1313
cssFileNamePattern: /^index.*\.css$/,
1414
standaloneDirectory: path.resolve(__dirname, "..", "..", "backbone"),
1515
complexDirectory: path.resolve(__dirname, ".."),
16+
cssFilesToAddLinksFor: ["big-dom-with-stacking-context-scrollable.css"],
1617
};
1718

1819
buildComplex(options);

resources/todomvc/architecture-examples/svelte-complex/dist/big-dom-generator.css renamed to resources/todomvc/architecture-examples/jquery-complex/dist/big-dom-with-stacking-context-scrollable.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/todomvc/architecture-examples/jquery-complex/dist/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

resources/todomvc/architecture-examples/jquery-complex/scripts/build.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ const options = {
99
sourceDirectory: path.join("..", "node_modules", "todomvc-jquery", "dist"),
1010
title: "jQuery • TodoMVC Complex DOM",
1111
filesToMove: [
12-
"node_modules/big-dom-generator/dist/big-dom-generator.css",
12+
"node_modules/big-dom-generator/dist/big-dom-with-stacking-context-scrollable.css",
1313
"node_modules/big-dom-generator/dist/logo.png"
1414
],
1515
cssFilePath: path.resolve(__dirname, "..", "node_modules", "big-dom-generator", "utils", "app.css"),
1616
cssFileNamePattern: /^index.*\.css$/,
1717
standaloneDirectory: path.resolve(__dirname, "..", "..", "jquery"),
1818
complexDirectory: path.resolve(__dirname, ".."),
19+
cssFilesToAddLinksFor: ["big-dom-with-stacking-context-scrollable.css"],
1920
};
2021

2122
buildComplex(options);

resources/todomvc/architecture-examples/vue-complex/dist/big-dom-generator.css renamed to resources/todomvc/architecture-examples/lit-complex/dist/big-dom-with-stacking-context-scrollable.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)