<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: PowerBuilderr</title>
    <description>The latest articles on DEV Community by PowerBuilderr (@auradesignsystem).</description>
    <link>https://dev.to/auradesignsystem</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4074424%2Fbcd82f5e-6c54-42f1-8049-5253c78393ce.png</url>
      <title>DEV Community: PowerBuilderr</title>
      <link>https://dev.to/auradesignsystem</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/auradesignsystem"/>
    <language>en</language>
    <item>
      <title>I built WIDTHSCAN to find the exact viewport widths where websites break</title>
      <dc:creator>PowerBuilderr</dc:creator>
      <pubDate>Wed, 12 Aug 2026 09:21:16 +0000</pubDate>
      <link>https://dev.to/auradesignsystem/i-built-widthscan-to-find-the-exact-viewport-widths-where-websites-break-4693</link>
      <guid>https://dev.to/auradesignsystem/i-built-widthscan-to-find-the-exact-viewport-widths-where-websites-break-4693</guid>
      <description>&lt;p&gt;Responsive bugs do not always appear at standard device presets.&lt;/p&gt;

&lt;p&gt;A page may look correct at 375px and 768px while breaking somewhere between them. Finding that exact transition manually can mean resizing DevTools one pixel at a time, inspecting the document width, and trying to identify which element escaped the viewport.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;WIDTHSCAN&lt;/strong&gt; to automate that investigation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Have a public frontend project? Leave its URL in the comments. I’ll personally scan the first five sites and send each owner the result — no installation required. If the report is useful, I’ll then ask you to run WIDTHSCAN once yourself and tell me how the experience went.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What WIDTHSCAN does
&lt;/h2&gt;

&lt;p&gt;WIDTHSCAN is an open-source, local-first responsive QA CLI.&lt;/p&gt;

&lt;p&gt;It scans a local or deployed website across a configurable viewport-width range, observes responsive failures, and narrows the detected transitions to exact inclusive ranges.&lt;/p&gt;

&lt;p&gt;The initial v0.1.0 release focuses on two detector types:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;HORIZONTAL_OVERFLOW&lt;/code&gt; — reachable document-level horizontal overflow;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;CLIPPED_TEXT&lt;/code&gt; — visible, meaningful text clipped by its own container.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each scan creates:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a standalone HTML report;&lt;/li&gt;
&lt;li&gt;machine-readable JSON results;&lt;/li&gt;
&lt;li&gt;annotated screenshots;&lt;/li&gt;
&lt;li&gt;likely offending elements;&lt;/li&gt;
&lt;li&gt;a copyable fix prompt for a developer or coding agent.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwml12w3w5xumxrcor7a6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwml12w3w5xumxrcor7a6.png" alt=" " width="800" height="295"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The report works directly from the local filesystem. WIDTHSCAN does not require an account, cloud service, telemetry, or an external API.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why exact ranges matter
&lt;/h2&gt;

&lt;p&gt;A report such as &lt;code&gt;412–427px&lt;/code&gt; means the failure was observed at every refined width from 412px through 427px.&lt;/p&gt;

&lt;p&gt;That is more actionable than saying that a page “has a mobile issue.” It provides concrete boundaries to reproduce before a fix and verify afterward.&lt;/p&gt;

&lt;p&gt;WIDTHSCAN also distinguishes scan-bounded ranges. For example, &lt;code&gt;≤320–338px&lt;/code&gt; means that the issue was already present at the configured minimum of 320px, so the true lower boundary remains unknown.&lt;/p&gt;

&lt;h2&gt;
  
  
  Initial field testing
&lt;/h2&gt;

&lt;p&gt;I tested WIDTHSCAN on five small public portfolio sites and manually reviewed the findings in Chromium.&lt;/p&gt;

&lt;p&gt;The results included:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;three confirmed horizontal-overflow defects;&lt;/li&gt;
&lt;li&gt;one clean scan;&lt;/li&gt;
&lt;li&gt;one intentionally moving element that could be excluded with &lt;code&gt;--ignore&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Intentional overflow is important. Marquees, decorative animation fields, and reveal effects may deliberately place content outside a component.&lt;/p&gt;

&lt;p&gt;WIDTHSCAN therefore supports repeatable CSS-selector exclusions:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx widthscan https://example.com &lt;span class="nt"&gt;--ignore&lt;/span&gt; &lt;span class="s2"&gt;".logo-marquee__track"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An element should only be ignored after manually confirming that its behavior is intentional and is not causing a real page-level failure.&lt;/p&gt;

&lt;p&gt;I also scanned Arizo Studio with permission from its owner. WIDTHSCAN checked 101 viewport widths from 320px through 1920px, and neither detector produced a finding.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvvwnrndn6uzcq4t4c969.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvvwnrndn6uzcq4t4c969.png" alt=" " width="800" height="379"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A clean scan is evidence that the available detectors did not find a failure. It is not proof that the website is completely responsive, accessible, or standards-compliant.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it on your project
&lt;/h2&gt;

&lt;p&gt;Requirements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Node.js 20 or newer;&lt;/li&gt;
&lt;li&gt;npm;&lt;/li&gt;
&lt;li&gt;Playwright Chromium.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Install the browser dependency:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx playwright &lt;span class="nb"&gt;install &lt;/span&gt;chromium
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run WIDTHSCAN without a global installation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx widthscan@0.1.0 &lt;span class="s2"&gt;"https://example.com"&lt;/span&gt; &lt;span class="nt"&gt;--min&lt;/span&gt; 320 &lt;span class="nt"&gt;--max&lt;/span&gt; 1920 &lt;span class="nt"&gt;--height&lt;/span&gt; 900 &lt;span class="nt"&gt;--out&lt;/span&gt; widthscan-report
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On Windows PowerShell, open the report with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;Start-Process&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;\widthscan-report\index.html&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On macOS:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;open ./widthscan-report/index.html
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On Linux:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;xdg-open ./widthscan-report/index.html
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The same command can scan a local development server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx widthscan@0.1.0 &lt;span class="s2"&gt;"http://localhost:5173"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  I’m looking for five early testers
&lt;/h2&gt;

&lt;p&gt;I would like five frontend developers to run WIDTHSCAN on one real project.&lt;/p&gt;

&lt;p&gt;The test should take approximately 5–10 minutes. I am especially interested in these questions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Did installation work on the first attempt?&lt;/li&gt;
&lt;li&gt;Was the detected behavior a real defect, intentional behavior, or a false positive?&lt;/li&gt;
&lt;li&gt;Was the HTML report understandable?&lt;/li&gt;
&lt;li&gt;What was the most confusing or inconvenient part?&lt;/li&gt;
&lt;li&gt;Would you use WIDTHSCAN again before releasing a frontend project?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Short answers are welcome.&lt;/p&gt;

&lt;p&gt;Repository:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/PowerBuilderr/WIDTHSCAN" rel="noopener noreferrer"&gt;https://github.com/PowerBuilderr/WIDTHSCAN&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback Issue:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/PowerBuilderr/WIDTHSCAN/issues/1" rel="noopener noreferrer"&gt;https://github.com/PowerBuilderr/WIDTHSCAN/issues/1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback can be written in English or Russian. If installation fails, that is valuable feedback too.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>showdev</category>
      <category>opensource</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
