- Регистрация
- 1 Мар 2015
- Сообщения
- 1,481
- Баллы
- 155
Imagine the classic game DOOM running in the browser, not with JavaScript, WebGL, or Canvas, but with just a single "div" and CSS. It sounds impossible, but that's exactly what managed to create in his article ""
As a QA Engineer, I see this experimental project not only as frontend art, but also as an experimental ground to test modern testing capabilities, especially in the era of an increasingly visual, dynamic, and unconventional web
? What is CSS Doom?
Simply put, it's an implementation of DOOM (yes, that 1993 FPS game) using:
- A single HTML element
- Thousands of lines of CSS to create the 3D visual effects
- No JavaScript or Canvas
? QA Engineer Perspective: What Can We Test?An extreme experiment, which actually presents new challenges for QA
Visual Regression Testing
In projects where all logic is wrapped in visual styles, Visual Regression becomes the main focus:
- Tools like Percy, BackstopJS, or Playwright can compare rendering between versions
- Experiment: run snapshots in different resolutions, browsers, or even OSes to see rendering "glitches"
Performance Testing: CSS Rendering Stress
This game pushes the browser's capabilities hard to:
- Render multiple CSS layers
- Handle parallax, gradient, and transform effects
?️ Use:
- Chrome DevTools (FPS meter, Performance tab)
- Lighthouse: especially the Layout Shift & Main Thread Work sections
Automation Testing in an "Empty" DOM
Since only 1
is used:- No regular DOM structure
- Can't use data-testid, role, or conventional selectors
? "This could be a case study: "How do automation tools like Cypress or Playwright adapt when the DOM is so minimal?"
Accessibility Testing (A11y)
HTML without semantic structure = a nightmare for screen reader users
Tools that can be used:
- Axe DevTools
- Lighthouse Accessibility Audit
- NVDA / VoiceOver
? From here, we can discuss the importance of HTML semantics for accessibility QA, even in experimental projects
AI-Based Visual Comparison
As a modern QA, we can try:
- Use AI models like Applitools Eyes or OpenCV to compare "rendered" frames between versions
- Analysis: Can the AI visually distinguish different levels or maps?
? Educational & Experimental Opportunities
I see this as an opportunity for founders to host bootcamps in groups or privately:
- ? Create a mini-workshop: "Visual Regression 101 via CSS Doom" and, add Comparative study: Rendering vs Performance - CSS-only vs Canvas vs WebGL
CSS Doom is not just about CSS genius, but also about:
How QA can continue to evolve following extreme frontend experiments
As QA Engineers, we can learn a lot:
- The importance of visual regression in the era of dynamic UI
- The limitations of automation when DOM is unconventional
- The importance of accessibility even in experiments
- The opportunity to use AI to detect visual differences
Frontend experiments like this will continue to emerge. The challenge is: can our QA approach be adaptive, creative, and even exploratory?
If you're a QA who wants to explore beyond just clicking and verifying, a project like CSS Doom can be a fun, yet challenging, starting point